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
Error:
N/A