lintcode labber
siriusli_
这个作者很懒,什么都没留下…
展开
-
[Lintcode Ladder2] String
1. 158. Valid Anagram Description Write a method anagram(s,t) to decide if two strings are anagrams or not. Have you met this question in a real interview? Clarification What is Anagram? Two string...原创 2019-01-04 23:56:24 · 138 阅读 · 0 评论 -
Lintcode Ladder2 总结
1. String [Lintcode Ladder2] String 13.Implement strStr() KMP算法 171.Anagrams 对之前代码对改进: item_ = str(sorted(item)) 注意要转换成string,因为list不能作为dictionary对hash表的key。 79. Longest Common Substring 再看一次还是没有思路,·...原创 2019-02-21 04:22:26 · 607 阅读 · 0 评论