LeetCode1417的题解,如何将字符串改写成长尾词?