leetcode-38-Count and Say

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/zem_nezer/article/details/85063766

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

猜你喜欢

转载自blog.csdn.net/zem_nezer/article/details/85063766