上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 15 下一页
摘要: 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, 阅读全文
posted @ 2016-03-22 17:13 自朗活 阅读(157) 评论(0) 推荐(0)
摘要: 1、 Given a dictionary, find all of the longest words in the dictionary. Given the longest words are(is) ["internationalization"]. 2、 思路: 1、得到数组里面最长的字符 阅读全文
posted @ 2016-03-21 17:36 自朗活 阅读(144) 评论(0) 推荐(0)
摘要: 1、 Give an integer array,find the longest increasing continuous subsequence in this array. An increasing continuous subsequence: For [5, 4, 2, 1, 3], 阅读全文
posted @ 2016-03-18 17:10 自朗活 阅读(168) 评论(0) 推荐(0)
摘要: 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 阅读全文
posted @ 2016-03-18 16:51 自朗活 阅读(142) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 15 下一页