摘要:
今天写一道LeetCode的题的时候,遇到了List,在new的时候,IDEA的智能提示出现了很多覆盖的方法,我突然觉得奇怪,又想到之前看到的List list = new ArrayList(),就百度了一下。List类是一个接口类,它继承了 Collection 接口。List有两个重要的实现类... 阅读全文
posted @ 2017-10-16 19:31
link98
阅读(335)
评论(0)
推荐(0)
摘要:
412. Fizz BuzzWrite a program that outputs the string representation of numbers from 1 to n.But for multiples of three it should output “Fizz” instead... 阅读全文
posted @ 2017-10-16 19:03
link98
阅读(166)
评论(0)
推荐(0)
摘要:
575. Distribute CandiesGiven an integer array with even length, where different numbers in this array represent different kinds of candies. Each numbe... 阅读全文
posted @ 2017-10-16 16:44
link98
阅读(137)
评论(0)
推荐(0)
浙公网安备 33010602011771号