跳转到内容

树 标签

← 所有标签

104 篇内容。

  1. 94. Binary Tree Inorder Traversal 二叉树的中序遍历
  2. 95. Unique Binary Search Trees II 不同的二叉搜索树 II
  3. 96. Unique Binary Search Trees 不同的二叉搜索树
  4. 98. Validate Binary Search Tree 验证二叉搜索树
  5. 99. Recover Binary Search Tree 恢复二叉搜索树
  6. 100. Same Tree 相同的树
  7. 101. Symmetric Tree 对称二叉树
  8. 102. Binary Tree Level Order Traversal 二叉树的层序遍历
  9. 104. Maximum Depth of Binary Tree 二叉树的最大深度
  10. 105. Construct Binary Tree from Preorder and Inorder Traversal 从前序与中序遍历序列构造二叉树
  11. 106. Construct Binary Tree from Inorder and Postorder Traversal 从中序与后序遍历序列构造二叉树
  12. 107. Binary Tree Level Order Traversal II 二叉树的层序遍历 II
  13. 108. Convert Sorted Array to Binary Search Tree 将有序数组转换为二叉搜索树
  14. 109. Convert Sorted List to Binary Search Tree 有序链表转换二叉搜索树
  15. 111. Minimum Depth of Binary Tree 二叉树的最小深度
  16. 112. Path Sum 路径总和
  17. 113. Path Sum II 路径总和 II
  18. 114. Flatten Binary Tree to Linked List 二叉树展开为链表
  19. 116. Populating Next Right Pointers in Each Node 填充每个节点的下一个右侧节点指针
  20. 117. Populating Next Right Pointers in Each Node II 填充每个节点的下一个右侧节点指针 II
  21. 124. Binary Tree Maximum Path Sum 二叉树中的最大路径和
  22. 129. Sum Root to Leaf Numbers 求根节点到叶节点数字之和
  23. 144. Binary Tree Preorder Traversal 二叉树的前序遍历
  24. 145. Binary Tree Postorder Traversal 二叉树的后序遍历
  25. 156. Binary Tree Upside Down 上下翻转二叉树
  26. 173. Binary Search Tree Iterator 二叉搜索树迭代器
  27. 199. Binary Tree Right Side View 二叉树的右视图
  28. 222. Count Complete Tree Nodes 完全二叉树的节点个数
  29. 226. Invert Binary Tree 翻转二叉树
  30. 230. Kth Smallest Element in a BST 二叉搜索树中第K小的元素
  31. 235. Lowest Common Ancestor of a Binary Search Tree 二叉搜索树的最近公共祖先
  32. 236. Lowest Common Ancestor of a Binary Tree 二叉树的最近公共祖先
  33. 257. Binary Tree Paths 二叉树的所有路径
  34. 270. Closest Binary Search Tree Value 最接近的二叉搜索树值
  35. 297. Serialize and Deserialize Binary Tree 二叉树的序列化与反序列化
  36. 331. Verify Preorder Serialization of a Binary Tree 验证二叉树的前序序列化
  37. 333. Largest BST Subtree 最大 BST 子树
  38. 337. House Robber III 打家劫舍 III
  39. 341. Flatten Nested List Iterator 扁平化嵌套列表迭代器
  40. 366. Find Leaves of Binary Tree 寻找二叉树的叶子节点
  41. 404. Sum of Left Leaves 左叶子之和
  42. 426. Convert Binary Search Tree to Sorted Doubly Linked List 将二叉搜索树转化为排序的双向链表
  43. 427. Construct Quad Tree 建立四叉树
  44. 429. N-ary Tree Level Order Traversal N 叉树的层序遍历
  45. 437. Path Sum III 路径总和 III
  46. 449. Serialize and Deserialize BST 序列化和反序列化二叉搜索树
  47. 450. Delete Node in a BST 删除二叉搜索树中的节点
  48. 501. Find Mode in Binary Search Tree 二叉搜索树中的众数
  49. 508. Most Frequent Subtree Sum 出现次数最多的子树元素和
  50. 513. Find Bottom Left Tree Value 找树左下角的值
  51. 515. Find Largest Value in Each Tree Row 在每个树行中找最大值
  52. 530. Minimum Absolute Difference in BST 二叉搜索树的最小绝对差
  53. 536. Construct Binary Tree from String 从字符串生成二叉树
  54. 538. Convert BST to Greater Tree 把二叉搜索树转换为累加树
  55. 543. Diameter of Binary Tree 二叉树的直径
  56. 558. Logical OR of Two Binary Grids Represented as Quad-Trees 四叉树交集
  57. 559. Maximum Depth of N-ary Tree N 叉树的最大深度
  58. 563. Binary Tree Tilt 二叉树的坡度
  59. 572. Subtree of Another Tree 另一棵树的子树
  60. 589. N-ary Tree Preorder Traversal N 叉树的前序遍历
  61. 590. N-ary Tree Postorder Traversal N 叉树的后序遍历
  62. 606. Construct String from Binary Tree 根据二叉树创建字符串
  63. 617. Merge Two Binary Trees 合并二叉树
  64. 623. Add One Row to Tree 在二叉树中增加一行
  65. 637. Average of Levels in Binary Tree 二叉树的层平均值
  66. 652. Find Duplicate Subtrees 寻找重复的子树
  67. 653. Two Sum IV - Input is a BST 两数之和 IV - 输入 BST
  68. 654. Maximum Binary Tree 最大二叉树
  69. 655. Print Binary Tree 输出二叉树
  70. 662. Maximum Width of Binary Tree 二叉树最大宽度
  71. 663. Equal Tree Partition 均匀树划分
  72. 666. Path Sum IV 路径总和 IV
  73. 669. Trim a Binary Search Tree 修剪二叉搜索树
  74. 671. Second Minimum Node In a Binary Tree 二叉树中第二小的节点
  75. 687. Longest Univalue Path 最长同值路径
  76. 700. Search in a Binary Search Tree 二叉搜索树中的搜索
  77. 701. Insert into a Binary Search Tree 二叉搜索树中的插入操作
  78. 703. Kth Largest Element in a Stream 数据流中的第 K 大元素
  79. 783. Minimum Distance Between BST Nodes 二叉搜索树节点最小距离
  80. 814. Binary Tree Pruning 二叉树剪枝
  81. 863. All Nodes Distance K in Binary Tree 二叉树中所有距离为 K 的结点
  82. 865. Smallest Subtree with all the Deepest Nodes 具有所有最深节点的最小子树
  83. 872. Leaf-Similar Trees 叶子相似的树
  84. 889. Construct Binary Tree from Preorder and Postorder Traversal 根据前序和后序遍历构造二叉树
  85. 894. All Possible Full Binary Trees 所有可能的真二叉树
  86. 897. Increasing Order Search Tree 递增顺序搜索树
  87. 919. Complete Binary Tree Inserter 完全二叉树插入器
  88. 938. Range Sum of BST 二叉搜索树的范围和
  89. 951. Flip Equivalent Binary Trees 翻转等价二叉树
  90. 958. Check Completeness of a Binary Tree 二叉树的完全性检验
  91. 965. Univalued Binary Tree 单值二叉树
  92. 968. Binary Tree Cameras 监控二叉树
  93. 971. Flip Binary Tree To Match Preorder Traversal 翻转二叉树以匹配先序遍历
  94. 979. Distribute Coins in Binary Tree 在二叉树中分配硬币
  95. 987. Vertical Order Traversal of a Binary Tree 二叉树的垂序遍历
  96. 988. Smallest String Starting From Leaf 从叶结点开始的最小字符串
  97. 993. Cousins in Binary Tree 二叉树的堂兄弟节点
  98. 998. Maximum Binary Tree II 最大二叉树 II
  99. 1008. Construct Binary Search Tree from Preorder Traversal 前序遍历构造二叉搜索树
  100. 1022. Sum of Root To Leaf Binary Numbers 从根到叶的二进制数之和
  101. 1110. Delete Nodes And Return Forest 删点成林
  102. 1120. Maximum Average Subtree 子树的最大平均值
  103. 1161. Maximum Level Sum of a Binary Tree 最大层内元素和
  104. 1305. All Elements in Two Binary Search Trees 两棵二叉搜索树中的所有元素

评论与交流