有一天醒来 我第一次注意到镜子里的人笑起来会有眼袋 你安慰我说,那是昨日疲惫的痕迹 有一天下午 我因为‘人生海海’一句歌词,振奋起来 ’我知道潮落之后一定有潮起,有什么了不起...

有一天醒来 我第一次注意到镜子里的人笑起来会有眼袋 你安慰我说,那是昨日疲惫的痕迹 有一天下午 我因为‘人生海海’一句歌词,振奋起来 ’我知道潮落之后一定有潮起,有什么了不起...
Solution: 此题是search inrotateed array 的变形, 多了 duplicate 的情况, 思路相同,但是必须加入duplicate处理, e.x...
Solution: In a sorted rotated array, half of the elements must be in a sorted sequence....
Solution1: Dynamic transfer function : dp(cur) = nums[i] + ( dp(prev) > 0 ? dp(prev) : ...
Tag: array, level : easy Solution: maintain two pointers, one iterate the whole array, ...
Tag: array, level: easy Solution: Using two pointers, use first pointer to iterate the ...
3 sum 的变形题 Solution1: sort first, then iterate the array, fix one element, using two po...
solution 1: sort the array, then fix two,using two pointers, one at the beginning eleme...
Solution: Sort then using two pointers, one at the beginning element, one at the end el...
Solution 1: iteration using 2 for loop Time : O(N^2), Space: O(1) class Solution { pub...
作者原地址:http://www.ng-newsletter.com/posts/building-2048-in-angularjs.html 1.设计app gridSe...
Date: 07/23 , 8/2 1) selection sort [23451] - -> [12345] Solution: Iterate the array, s...
三天基本学会Java,挑战不可能 Java以其简易性而闻名于世 , 然而市场上大量几百页的厚重书籍会打消初学者的兴趣 不过掌握基本语法,和其他语言一样只需要用三天 在这里假定...
1.在Users/XXX 下面新建 Sites文件夹。 2.修改配置文件 ---- 1) /etc/apache2/ http.conf 修改目录显示: <Directo...
May 18 Android官方培训课程中文版 http://hukai.me/android-training-course-in-chinese/index.html 报...