摘要:
No.217 Contains DuplicateGiven an array of integers, find if the array contains any duplicates. Your function should return true if any value appears ... 阅读全文
摘要:
No.14 Longest Common PrefixWrite a function to find the longest common prefix string amongst an array of strings.求一组string的最长公共前缀想法:找到最短的那个,然后依次对比典型的字... 阅读全文