首页
AI Coding
NEW
沸点
课程
直播
活动
AI刷题
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
会员
登录
注册
朴素bfs、双向bfs
Devil
创建于2022-06-22
订阅专栏
图论之bfs
暂无订阅
共6篇文章
创建于2022-06-22
订阅专栏
默认顺序
默认顺序
最早发布
最新发布
[JavaScript / leetcode] 934. 最短的桥
leetcode原题链接:https://leetcode.cn/problems/shortest-bridge 难度:中等 题目 给你一个大小为 n x n 的二元矩阵 grid ,其中 1 表示
[JavaScript / leetcode] 393. UTF-8 编码验证
leetcode原题链接:https://leetcode.cn/problems/word-ladder 题目 字典 wordList 中从单词 beginWord 和 endWord 的 转换序列
[总结:广度优先搜索bfs] 752. 打开转盘锁
leetcode原题链接:https://leetcode.cn/problems/open-the-lock 难度:中等 方法:广度优先搜索,模运算 题目 你有一个带有四个圆形拨轮的转盘锁。每个拨轮
[双向bfs、朴素bfs] 127. 单词接龙
leetcode原题链接: https://leetcode.cn/problems/word-ladder/ 难度:困难 方法:双向bfs, 朴素bfs 题目 字典 wordList 中从单词 be
[层序遍历、深度优先遍历] 515. 在每个树行中找最大值
leetcode原题链接:https://leetcode.cn/problems/find-largest-value-in-each-tree-row/ 难度:中等 方法:bfs、dfs 题目 给
[层序遍历、深度遍历] 513. 找树左下角的值
leetcode原题链接:https://leetcode.cn/problems/find-bottom-left-tree-value/ 难度:中等 方法:dfs, bfs 题目 给定一个二叉树的