会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
EvanMeetTheWorld
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
40
41
42
43
44
45
46
47
48
···
117
下一页
2020年11月12日
算法思路总结
摘要: 从解面试中的算法题目的方面来说,经常会遇到以下情况: 完全没有思路 连暴力解都不知道从何下手 知道可以用暴力解 但是更优解想不出来 ...
阅读全文
posted @ 2020-11-12 12:07 EvanMeetTheWorld
阅读(109)
评论(0)
推荐(0)
2020年11月11日
TreeMap和TreeSet(中文版)
摘要: TreeMap 和 TreeSet 是 Java Collection Framework 的两个重要成员,其中 TreeMap 是...
阅读全文
posted @ 2020-11-11 11:37 EvanMeetTheWorld
阅读(70)
评论(0)
推荐(0)
LeetCode 350. Intersection of Two Arrays II
摘要: it’s the follow up of LC349, which we don’t allows any duplicates ...
阅读全文
posted @ 2020-11-11 11:05 EvanMeetTheWorld
阅读(35)
评论(0)
推荐(0)
LeetCode 349. Intersection of Two Arrays
摘要: write a function to determine the intersection between those two a...
阅读全文
posted @ 2020-11-11 10:46 EvanMeetTheWorld
阅读(14)
评论(0)
推荐(0)
Java List/Array/HashSet之间的互相的转化
摘要: Array 转 list List list = Arrays.asList(arr); list转array: String[] ...
阅读全文
posted @ 2020-11-11 03:43 EvanMeetTheWorld
阅读(212)
评论(0)
推荐(0)
如何打印Array, 2D Array, List(ArrayList, LinkedList)
摘要: 总结一下: print Array需要用Arrays.toString() 但是这只能直接打印一维的。(其他的类型可以采用直接打印或...
阅读全文
posted @ 2020-11-11 02:43 EvanMeetTheWorld
阅读(105)
评论(0)
推荐(0)
遍历/打印HashMap和HashSet
摘要: 总结一下: 针对遍历 就是用for each或者是迭代器 针对打印:(管他是怎么搞 只要打出来能看懂就行) Hashmap: Sys...
阅读全文
posted @ 2020-11-11 00:48 EvanMeetTheWorld
阅读(131)
评论(0)
推荐(0)
LeetCode 327. Count of Range Sum
摘要: 对于count range sum的题目 首先应该想到的就是 树状数组和线段树就是用来高效解决此类问题的方法。 首先题意就费了一些力...
阅读全文
posted @ 2020-11-11 00:15 EvanMeetTheWorld
阅读(43)
评论(0)
推荐(0)
2020年11月10日
LeetCode 302 Smallest rectangle enclosing black pixels
摘要: An image is represented by a binary matrix with 0 as a white pixel...
阅读全文
posted @ 2020-11-10 11:38 EvanMeetTheWorld
阅读(27)
评论(0)
推荐(0)
LeetCode 300 longest increasing subsequence
摘要: Given an unsorted array of integers, find the length of longest in...
阅读全文
posted @ 2020-11-10 10:55 EvanMeetTheWorld
阅读(15)
评论(0)
推荐(0)
上一页
1
···
40
41
42
43
44
45
46
47
48
···
117
下一页
公告