会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
YRB
博客园
首页
新随笔
联系
管理
订阅
随笔- 340 文章- 0 评论- 29 阅读-
31万
当前标签:DFS
1
2
3
下一页
Path Sum的变体
YRB 2016-03-17 03:32
阅读:245
评论:0
推荐:0
编辑
301. Remove Invalid Parentheses
YRB 2015-12-15 23:29
阅读:3378
评论:0
推荐:0
编辑
298. Binary Tree Longest Consecutive Sequence
YRB 2015-12-15 07:36
阅读:2609
评论:0
推荐:0
编辑
294. Flip Game II
YRB 2015-12-13 21:57
阅读:2704
评论:0
推荐:0
编辑
286. Walls and Gates
YRB 2015-12-11 12:23
阅读:2079
评论:0
推荐:0
编辑
257. Binary Tree Paths
YRB 2015-12-03 05:04
阅读:1516
评论:0
推荐:0
编辑
254. Factor Combinations
YRB 2015-12-03 00:42
阅读:2934
评论:0
推荐:0
编辑
248. Strobogrammatic Number III
YRB 2015-12-01 06:02
阅读:686
评论:0
推荐:0
编辑
247. Strobogrammatic Number II
YRB 2015-12-01 04:17
阅读:1108
评论:0
推荐:0
编辑
226. Invert Binary Tree
YRB 2015-11-25 12:36
阅读:564
评论:0
推荐:0
编辑
216. Combination Sum III
YRB 2015-11-22 23:20
阅读:954
评论:0
推荐:0
编辑
210. Course Schedule II
YRB 2015-11-19 13:09
阅读:1388
评论:0
推荐:0
编辑
207. Course Schedule
YRB 2015-05-11 03:53
阅读:4714
评论:0
推荐:0
编辑
200. Number of Islands
YRB 2015-05-10 06:46
阅读:2058
评论:0
推荐:0
编辑
140. Word Break II
YRB 2015-04-19 11:21
阅读:1667
评论:0
推荐:0
编辑
139. Word Break
YRB 2015-04-19 11:19
阅读:1534
评论:1
推荐:0
编辑
138. Copy List with Random Pointer
YRB 2015-04-19 11:18
阅读:432
评论:1
推荐:0
编辑
133. Clone Graph
YRB 2015-04-19 11:01
阅读:1274
评论:0
推荐:0
编辑
129. Sum Root to Leaf Numbers
YRB 2015-04-19 10:43
阅读:754
评论:0
推荐:0
编辑
126. Word Ladder II
YRB 2015-04-19 00:37
阅读:820
评论:0
推荐:0
编辑
1
2
3
下一页
公告
昵称:
YRB
园龄:
10年2个月
粉丝:
22
关注:
42
<
2025年2月
>
日
一
二
三
四
五
六
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
1
2
3
4
5
6
7
8
搜索
常用链接
我的随笔
我的评论
我的参与
最新评论
我的标签
更多链接
我的标签
LeetCode
(303)
2刷
(257)
3刷
(178)
Array
(56)
DFS
(45)
Dynamic Programming
(40)
Tree
(36)
String
(32)
Backtraking
(27)
Python
(24)
更多
随笔档案
2016年7月(1)
2016年6月(2)
2016年5月(3)
2016年4月(8)
2016年3月(9)
2016年2月(3)
2016年1月(5)
2015年12月(74)
2015年11月(36)
2015年10月(2)
2015年9月(1)
2015年7月(1)
2015年5月(50)
2015年4月(144)
2014年12月(1)
阅读排行榜
1. 314. Binary Tree Vertical Order Traversal(9334)
2. 302. Smallest Rectangle Enclosing Black Pixels(5521)
3. Heap和Heapify(5494)
4. 308. Range Sum Query 2D - Mutable(5477)
5. 207. Course Schedule(4714)
评论排行榜
1. 314. Binary Tree Vertical Order Traversal(2)
2. 310. Minimum Height Trees(2)
3. 242. Valid Anagram(2)
4. 235. Lowest Common Ancestor of a Binary Search Tree(2)
5. 163. Missing Ranges(2)
推荐排行榜
1. 病来如山倒(1)
2. 308. Range Sum Query 2D - Mutable(1)
3. 307. Range Sum Query - Mutable(1)
4. 290. Word Pattern(1)
5. 277. Find the Celebrity(1)
最新评论
1. Re:91. Decode Ways
引用先建立数组dp = new int[s.length() + 1], 初始化一个数字的情况dp[0] = 1, 两个数字组成一个两位数字的情况dp[1] = 1。dp[0]指的是空字符串只有1种情...
--panini
2. Re:17. Letter Combinations of a Phone Number
why branching factor is 3? there're 2 cases one letter maps to four letters.
--panini
3. Re:131. Palindrome Partitioning
请教一下,Time Complexity - O(n*2n), Space Complexity - O(n*2n)是如何计算得到的?多谢~
--mapleWizard
4. Re:127. Word Ladder
@ panini 时间复杂度就是 26 * n *l...
--akwhole
5. Re:295. Find Median from Data Stream
学习了,学习了,请教一下,通常你是如何判断方法或语句性能的优劣的,还是算法才是最重要的。
--一座城你说你不懂
点击右上角即可分享