跳转到内容

二叉树 标签

← 所有标签

二叉树

97 篇内容。

  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. 366. Find Leaves of Binary Tree 寻找二叉树的叶子节点
  40. 404. Sum of Left Leaves 左叶子之和
  41. 426. Convert Binary Search Tree to Sorted Doubly Linked List 将二叉搜索树转化为排序的双向链表
  42. 437. Path Sum III 路径总和 III
  43. 449. Serialize and Deserialize BST 序列化和反序列化二叉搜索树
  44. 450. Delete Node in a BST 删除二叉搜索树中的节点
  45. 501. Find Mode in Binary Search Tree 二叉搜索树中的众数
  46. 508. Most Frequent Subtree Sum 出现次数最多的子树元素和
  47. 513. Find Bottom Left Tree Value 找树左下角的值
  48. 515. Find Largest Value in Each Tree Row 在每个树行中找最大值
  49. 530. Minimum Absolute Difference in BST 二叉搜索树的最小绝对差
  50. 536. Construct Binary Tree from String 从字符串生成二叉树
  51. 538. Convert BST to Greater Tree 把二叉搜索树转换为累加树
  52. 543. Diameter of Binary Tree 二叉树的直径
  53. 563. Binary Tree Tilt 二叉树的坡度
  54. 572. Subtree of Another Tree 另一棵树的子树
  55. 606. Construct String from Binary Tree 根据二叉树创建字符串
  56. 617. Merge Two Binary Trees 合并二叉树
  57. 623. Add One Row to Tree 在二叉树中增加一行
  58. 637. Average of Levels in Binary Tree 二叉树的层平均值
  59. 652. Find Duplicate Subtrees 寻找重复的子树
  60. 653. Two Sum IV - Input is a BST 两数之和 IV - 输入 BST
  61. 654. Maximum Binary Tree 最大二叉树
  62. 655. Print Binary Tree 输出二叉树
  63. 662. Maximum Width of Binary Tree 二叉树最大宽度
  64. 663. Equal Tree Partition 均匀树划分
  65. 666. Path Sum IV 路径总和 IV
  66. 669. Trim a Binary Search Tree 修剪二叉搜索树
  67. 671. Second Minimum Node In a Binary Tree 二叉树中第二小的节点
  68. 687. Longest Univalue Path 最长同值路径
  69. 700. Search in a Binary Search Tree 二叉搜索树中的搜索
  70. 701. Insert into a Binary Search Tree 二叉搜索树中的插入操作
  71. 703. Kth Largest Element in a Stream 数据流中的第 K 大元素
  72. 783. Minimum Distance Between BST Nodes 二叉搜索树节点最小距离
  73. 814. Binary Tree Pruning 二叉树剪枝
  74. 863. All Nodes Distance K in Binary Tree 二叉树中所有距离为 K 的结点
  75. 865. Smallest Subtree with all the Deepest Nodes 具有所有最深节点的最小子树
  76. 872. Leaf-Similar Trees 叶子相似的树
  77. 889. Construct Binary Tree from Preorder and Postorder Traversal 根据前序和后序遍历构造二叉树
  78. 894. All Possible Full Binary Trees 所有可能的真二叉树
  79. 897. Increasing Order Search Tree 递增顺序搜索树
  80. 919. Complete Binary Tree Inserter 完全二叉树插入器
  81. 938. Range Sum of BST 二叉搜索树的范围和
  82. 951. Flip Equivalent Binary Trees 翻转等价二叉树
  83. 958. Check Completeness of a Binary Tree 二叉树的完全性检验
  84. 965. Univalued Binary Tree 单值二叉树
  85. 968. Binary Tree Cameras 监控二叉树
  86. 971. Flip Binary Tree To Match Preorder Traversal 翻转二叉树以匹配先序遍历
  87. 979. Distribute Coins in Binary Tree 在二叉树中分配硬币
  88. 987. Vertical Order Traversal of a Binary Tree 二叉树的垂序遍历
  89. 988. Smallest String Starting From Leaf 从叶结点开始的最小字符串
  90. 993. Cousins in Binary Tree 二叉树的堂兄弟节点
  91. 998. Maximum Binary Tree II 最大二叉树 II
  92. 1008. Construct Binary Search Tree from Preorder Traversal 前序遍历构造二叉搜索树
  93. 1022. Sum of Root To Leaf Binary Numbers 从根到叶的二进制数之和
  94. 1110. Delete Nodes And Return Forest 删点成林
  95. 1120. Maximum Average Subtree 子树的最大平均值
  96. 1161. Maximum Level Sum of a Binary Tree 最大层内元素和
  97. 1305. All Elements in Two Binary Search Trees 两棵二叉搜索树中的所有元素

评论与交流