会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
jdflyfly
博客园
首页
新随笔
联系
订阅
管理
随笔 - 228
文章 - 1
评论 - 32
阅读 -
54658
当前标签:dfs
图的表示与遍历
jdflyfly 2014-09-11 16:30
阅读:301
评论:0
推荐:0
编辑
18.7 一组字符串里找最长的可以用其他字符串表示的字符串。
jdflyfly 2014-08-26 15:00
阅读:183
评论:0
推荐:0
编辑
9.8 给定数量不限的硬币,25,10,5,1,编写代码计算n分有几种表示法。
jdflyfly 2014-08-23 22:23
阅读:510
评论:0
推荐:0
编辑
[leetcode] Letter Combinations of a Phone Number
jdflyfly 2014-08-04 19:27
阅读:363
评论:3
推荐:0
编辑
[leetcode] Word Break II
jdflyfly 2014-07-07 12:38
阅读:141
评论:0
推荐:0
编辑
[leetcode] Word Break
jdflyfly 2014-07-07 01:12
阅读:212
评论:0
推荐:0
编辑
[leetcode] Clone Graph
jdflyfly 2014-07-06 23:18
阅读:149
评论:0
推荐:0
编辑
[leetcode] Palindrome Partitioning
jdflyfly 2014-07-06 22:59
阅读:257
评论:0
推荐:0
编辑
[leetcode] Surrounded Regions
jdflyfly 2014-07-06 22:54
阅读:189
评论:0
推荐:0
编辑
[leetcode] Word Ladder II
jdflyfly 2014-07-05 00:26
阅读:227
评论:0
推荐:0
编辑
[leetcode] Interleaving String
jdflyfly 2014-07-02 22:21
阅读:172
评论:1
推荐:0
编辑
[leetcode] Restore IP Addresses
jdflyfly 2014-07-01 23:59
阅读:219
评论:0
推荐:0
编辑
[leetcode] Decode Ways
jdflyfly 2014-07-01 23:44
阅读:170
评论:0
推荐:0
编辑
[leetcode] Scramble String
jdflyfly 2014-07-01 22:15
阅读:224
评论:0
推荐:0
编辑
[leetcode] Word Search
jdflyfly 2014-06-29 20:22
阅读:382
评论:0
推荐:0
编辑
[leetcode] Combination Sum II
jdflyfly 2014-06-26 19:54
阅读:416
评论:0
推荐:0
编辑
[leetcode] Combination Sum
jdflyfly 2014-06-26 19:53
阅读:265
评论:0
推荐:0
编辑
公告
昵称:
jdflyfly
园龄:
14年2个月
粉丝:
1
关注:
4
<
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
搜索
常用链接
我的随笔
我的评论
我的参与
最新评论
我的标签
我的标签
java
(169)
leetcode
(152)
tree
(38)
recursion
(35)
CC150
(35)
string
(29)
dp
(26)
linked-list
(23)
dfs
(17)
hard
(14)
更多
随笔分类
CC150(15)
java(22)
基础知识(1)
技术积累(1)
数据结构与算法(165)
随笔档案
2022年11月(1)
2022年10月(1)
2017年9月(1)
2014年10月(1)
2014年9月(15)
2014年8月(31)
2014年7月(88)
2014年6月(90)
阅读排行榜
1. [leetcode] Regular Expression Matching(1827)
2. 二叉树序列化(1338)
3. [leetcode] Linked List Cycle II(1225)
4. 9.10 n个箱子,宽w、高h、深d,箱子不能翻转,下面的箱子的宽度、高度和深度必须大于上面的,实现一个方法,搭出最高的一堆箱子。(1052)
5. 排序之 快速排序(832)
评论排行榜
1. [leetcode] Wildcard Matching(4)
2. [leetcode] Letter Combinations of a Phone Number(3)
3. [leetcode] Linked List Cycle II(3)
4. [leetcode] Populating Next Right Pointers in Each Node II(3)
5. [leetcode] Divide Two Integers(3)
最新评论
1. Re:[leetcode] Populating Next Right Pointers in Each Node II
用BFS应该是使用线性的空间了吧,题目要求的constant
--10001hours
2. Re:[leetcode] Letter Combinations of a Phone Number
@ jdflyfly就是因为未定义,所以要走出相应处理啊,抛出异常也好,直接忽略也好,总之得处理一下吧...
--喵星人与汪星人
3. Re:[leetcode] Letter Combinations of a Phone Number
@ 喵星人与汪星人0 和 1的行为未定义啊...
--jdflyfly
4. Re:[leetcode] Letter Combinations of a Phone Number
有个bug,如果digits中包含了0或者1,照上面的代码运行会怎样?
--喵星人与汪星人
5. Re:[leetcode] Divide Two Integers
@ jdflyfly引用@喵星人与汪星人好个屁啊,今天改了下,用毛数组啊这道题做的真好...
--喵星人与汪星人
点击右上角即可分享