1. 程式人生 > >leetcode-38-Count and Say

leetcode-38-Count and Say

The algorithm is easy, following what the problem want us to do. But we always need to care about the detail. Always remember to handle the string when we finish counting, and remember to append the new string to result after the for loop is finish