由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 问个BFS leetcode
相关主题
leetcode 新题 Course Schedule用BFS怎么做?面试题总结(7) - Tree
问个leetcode的问题感觉leetcode上的题
求讨论关于Leetcode的WordLadder I的DFS解法Yahoo 面经
请问leetcode wordladder题什么意思?G家onsite后求祝福
双向bfs果然有效率,pyhon 664ms 过wordladder I来发个我的Leetcode的Python答案吧
准备好好做做leetcode上的题目前系统的刷题,题目分类化,求咨询。
请教一道Leetcode 题,多谢从地里转一个 大家共勉: 我的求职总结(EE找码农工作,已搞定
leetcode jump game22014 找工作总结
相关话题的讨论汇总
话题: bfs话题: leetcode话题: 问个话题: hug话题: 看前
进入JobHunting版参与讨论
1 (共1页)
f**********e
发帖数: 288
1
in BFS, when testing if a node can be added to the new
level we only need to test if it has been visited in the
previous two levels.
为什么只要看前两层呢?请大牛们指点下啊。
f**********e
发帖数: 288
2
求解答 求关注 :-)
a***a
发帖数: 739
3
This rule works for WordLadder, but it is not applicable to BFS in general.
g*****y
发帖数: 1120
4
tree的话只需看前一层,以此类推有特殊的图可以只看前两层

.

【在 a***a 的大作中提到】
: This rule works for WordLadder, but it is not applicable to BFS in general.
f**********e
发帖数: 288
5
many thanks, hug :-)

.

【在 a***a 的大作中提到】
: This rule works for WordLadder, but it is not applicable to BFS in general.
f**********e
发帖数: 288
6
many thanks, hug :-)

【在 g*****y 的大作中提到】
: tree的话只需看前一层,以此类推有特殊的图可以只看前两层
:
: .

1 (共1页)
进入JobHunting版参与讨论
相关主题
2014 找工作总结双向bfs果然有效率,pyhon 664ms 过wordladder I
A面经准备好好做做leetcode上的题
uber 电面面经请教一道Leetcode 题,多谢
FLG面经,攒人品,回馈本版。leetcode jump game2
leetcode 新题 Course Schedule用BFS怎么做?面试题总结(7) - Tree
问个leetcode的问题感觉leetcode上的题
求讨论关于Leetcode的WordLadder I的DFS解法Yahoo 面经
请问leetcode wordladder题什么意思?G家onsite后求祝福
相关话题的讨论汇总
话题: bfs话题: leetcode话题: 问个话题: hug话题: 看前