
algorithm
wangbingfeng0
I'm back
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
collections - Set
The most common use for a Set is to test for membership, so you can easily ask whether an object is in a Set.The HashSet in earlier versions of Java produced output on discernible order. A HashSet u...原创 2019-01-13 12:01:53 · 280 阅读 · 0 评论 -
streams - Fibonacci sequence sum
Stream.iterate() starts with a seed (the first argument) and passes it to the method (the second argument). The result is added to the stream and also stored for use as the first argument the next tim...原创 2019-01-26 17:11:09 · 186 阅读 · 0 评论 -
algorithm - Medium - two sum
Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may not use the same ...原创 2019-01-21 22:03:09 · 121 阅读 · 0 评论