摘要: The function signature has been updated to return a more intuitivevector>which treats a single string as a group of anagrams consisting of only itself... 阅读全文
posted @ 2015-08-01 17:07 jianchao-li 阅读(876) 评论(0) 推荐(0)
摘要: Hash TableThis idea uses a hash table to record the times of appearances of each letter in the two stringssandt. For each letter ins, it increases the... 阅读全文
posted @ 2015-08-01 14:14 jianchao-li 阅读(300) 评论(0) 推荐(0)
摘要: To solve this problem, you first need to understand it well. The key problem is tell the difference of scramble from permutations. You may refer to th... 阅读全文
posted @ 2015-08-01 11:58 jianchao-li 阅读(216) 评论(0) 推荐(0)