
java
文章平均质量分 80
ninghan2
这个作者很懒,什么都没留下…
展开
-
3sum leetcode
leetcode but time limit /* * Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. Note:原创 2015-12-11 19:38:05 · 278 阅读 · 0 评论 -
count and say leetcode java
The count-and-say sequence is the sequence of integers beginning as follows: 1, 11, 21, 1211, 111221, ... 1 is read off as "one 1" or 11. 11 is read off as "two 1s" or 21. 21 is read off as "one 2原创 2015-11-27 10:08:24 · 276 阅读 · 0 评论