首页
AI Coding
NEW
沸点
课程
直播
活动
AI刷题
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
会员
登录
注册
哈哈哈个
掘友等级
获得徽章 0
动态
文章
专栏
沸点
收藏集
关注
作品
赞
3
文章 3
沸点 0
赞
3
返回
|
搜索文章
最新
热门
271. Encode and Decode Strings
Solution Tricky part is to figure out how to encode the string.
2856. Minimum Array Length After Pair Removals
solution: First take a look at a few cases: 1,2,3,4 -> 0 1,1,1,1,1,2 -> 4 1,1,1,1,2 -> 3 Which makes
212. Word Search II
Solution: DFS + Trie The key is how we find the matches of word from the dictionary. We can use hash
2050. Parallel Courses III
Solution: BFS while (!queue.isEmpty()) { int curCourse = queue.poll();
1136. Parallel Courses
Solution BFSt minimumSemesters(int n, int[][] relations) { int[] inDegree = new int[n + 1];
2303. Calculate Amount Paid in Taxes
 ```java class Solution { public d
705 Design HashSet
 ```java class MyHashSet { private
706. Design HashMap
Solution: Array + LinkedList706. Design HashMap706. Design HashMap706. Design HashMap706. Design Has
408. Valid Word Abbreviation
 ```java class Solution { public b
687. Longest Univalue Path
solution: DFS O(N), O(N)iven the root of a binary tree, return the length of the longest path, where
下一页
个人成就
文章被点赞
29
文章被阅读
42,799
掘力值
1,696
关注了
0
关注者
8
收藏集
2
关注标签
3
加入于
2020-12-27