![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
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 · 224 阅读 · 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 · 141 阅读 · 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 · 80 阅读 · 0 评论