
java笔记
java库的使用
死亡如风,常伴吾身
本科在读
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
720. Longest Word in Dictionary
question Given a list of strings words representing an English Dictionary, find the longest word in words that can be built one character at a time by other words in words. If there is more than one p...原创 2020-03-24 16:30:26 · 160 阅读 · 0 评论 -
ArrayList与List与LinkedList
类继承关系原创 2020-03-22 15:02:43 · 126 阅读 · 0 评论 -
Compare
例一自定义比较函数:Arrays.sort(tmp,new Comparator(){} 给你一个整数数组 arr 。请你将数组中的元素按照其二进制表示中数字 1 的数目升序排序。 如果存在多个数字二进制中 1 的数目相同,则必须将它们按照数值大小升序排列。 请你返回排序后的数组。 数据 输入:arr = [0,1,2,3,4,5,6,7,8] 输出:[0,1,2,4,8,3,5,6,7] 解释:...原创 2020-03-20 17:02:26 · 803 阅读 · 0 评论