跳转到内容

广度优先搜索 标签

← 所有标签

广度优先搜索

88 篇内容。

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

评论与交流