广度优先搜索 标签
广度优先搜索
共 88 篇内容。
- 100. Same Tree 相同的树
- 101. Symmetric Tree 对称二叉树
- 102. Binary Tree Level Order Traversal 二叉树的层序遍历
- 104. Maximum Depth of Binary Tree 二叉树的最大深度
- 107. Binary Tree Level Order Traversal II 二叉树的层序遍历 II
- 111. Minimum Depth of Binary Tree 二叉树的最小深度
- 112. Path Sum 路径总和
- 116. Populating Next Right Pointers in Each Node 填充每个节点的下一个右侧节点指针
- 117. Populating Next Right Pointers in Each Node II 填充每个节点的下一个右侧节点指针 II
- 127. Word Ladder 单词接龙
- 133. Clone Graph 克隆图
- 199. Binary Tree Right Side View 二叉树的右视图
- 200. Number of Islands 岛屿数量
- 207. Course Schedule 课程表
- 210. Course Schedule II 课程表 II
- 226. Invert Binary Tree 翻转二叉树
- 279. Perfect Squares 完全平方数
- 286. Walls and Gates 墙与门
- 297. Serialize and Deserialize Binary Tree 二叉树的序列化与反序列化
- 310. Minimum Height Trees 最小高度树
- 322. Coin Change 零钱兑换
- 323. Number of Connected Components in an Undirected Graph 无向图中连通分量的数目
- 329. Longest Increasing Path in a Matrix 矩阵中的最长递增路径
- 339. Nested List Weight Sum 嵌套列表权重和
- 364. Nested List Weight Sum II 加权嵌套序列和 II
- 365. Water and Jug Problem 水壶问题
- 399. Evaluate Division 除法求值
- 404. Sum of Left Leaves 左叶子之和
- 417. Pacific Atlantic Water Flow 太平洋大西洋水流问题
- 429. N-ary Tree Level Order Traversal N 叉树的层序遍历
- 433. Minimum Genetic Mutation 最小基因变化
- 449. Serialize and Deserialize BST 序列化和反序列化二叉搜索树
- 463. Island Perimeter 岛屿的周长
- 490. The Maze 迷宫
- 505. The Maze II 迷宫 II
- 513. Find Bottom Left Tree Value 找树左下角的值
- 515. Find Largest Value in Each Tree Row 在每个树行中找最大值
- 529. Minesweeper 扫雷游戏
- 530. Minimum Absolute Difference in BST 二叉搜索树的最小绝对差
- 547. Number of Provinces 省份数量
- 559. Maximum Depth of N-ary Tree N 叉树的最大深度
- 617. Merge Two Binary Trees 合并二叉树
- 623. Add One Row to Tree 在二叉树中增加一行
- 637. Average of Levels in Binary Tree 二叉树的层平均值
- 653. Two Sum IV - Input is a BST 两数之和 IV - 输入 BST
- 655. Print Binary Tree 输出二叉树
- 662. Maximum Width of Binary Tree 二叉树最大宽度
- 672. Bulb Switcher II 灯泡开关 Ⅱ
- 684. Redundant Connection 冗余连接
- 690. Employee Importance 员工的重要性
- 694. Number of Distinct Islands 不同岛屿的数量
- 695. Max Area of Island 岛屿的最大面积
- 721. Accounts Merge 账户合并
- 733. Flood Fill 图像渲染
- 743. Network Delay Time 网络延迟时间
- 752. Open the Lock 打开转盘锁
- 756. Pyramid Transition Matrix 金字塔转换矩阵
- 765. Couples Holding Hands 情侣牵手
- 773. Sliding Puzzle 滑动谜题
- 778. Swim in Rising Water 水位上升的泳池中游泳
- 783. Minimum Distance Between BST Nodes 二叉搜索树节点最小距离
- 785. Is Graph Bipartite? 判断二分图
- 787. Cheapest Flights Within K Stops K 站中转内最便宜的航班
- 797. All Paths From Source to Target 所有可能的路径
- 802. Find Eventual Safe States 找到最终的安全状态
- 839. Similar String Groups 相似字符串组
- 841. Keys and Rooms 钥匙和房间
- 847. Shortest Path Visiting All Nodes 访问所有节点的最短路径
- 863. All Nodes Distance K in Binary Tree 二叉树中所有距离为 K 的结点
- 865. Smallest Subtree with all the Deepest Nodes 具有所有最深节点的最小子树
- 886. Possible Bipartition 可能的二分法
- 919. Complete Binary Tree Inserter 完全二叉树插入器
- 934. Shortest Bridge 最短的桥
- 958. Check Completeness of a Binary Tree 二叉树的完全性检验
- 959. Regions Cut By Slashes 由斜杠划分区域
- 965. Univalued Binary Tree 单值二叉树
- 967. Numbers With Same Consecutive Differences 连续差相同的数字
- 987. Vertical Order Traversal of a Binary Tree 二叉树的垂序遍历
- 993. Cousins in Binary Tree 二叉树的堂兄弟节点
- 994. Rotting Oranges 腐烂的橘子
- 1020. Number of Enclaves 飞地的数量
- 1042. Flower Planting With No Adjacent 不邻接植花
- 1102. Path With Maximum Minimum Value 得分最高的路径
- 1161. Maximum Level Sum of a Binary Tree 最大层内元素和
- 1162. As Far from Land as Possible 地图分析
- 1462. Course Schedule IV 课程表 IV
- 1466. Reorder Routes to Make All Paths Lead to the City Zero 重新规划路线
- 1631. Path With Minimum Effort 最小体力消耗路径

评论与交流