How to solve LeetCode problem 859: Buddy Strings efficiently?
Kruskal算法求最小生成树,如何改写为长尾词?