摘要:
1、Given an array of integers, the majority number is the number that occursmore than half of the size of the array. Find it. Given [1, 1, 1, 1, 2, 2, 阅读全文
摘要:
1、 Given a dictionary, find all of the longest words in the dictionary. Given the longest words are(is) ["internationalization"]. 2、 思路: 1、得到数组里面最长的字符 阅读全文
摘要:
1、 Give an integer array,find the longest increasing continuous subsequence in this array. An increasing continuous subsequence: For [5, 4, 2, 1, 3], 阅读全文
摘要:
1、 Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last w 阅读全文