二叉树 标签
二叉树
共 97 篇内容。
- 94. Binary Tree Inorder Traversal 二叉树的中序遍历
- 95. Unique Binary Search Trees II 不同的二叉搜索树 II
- 96. Unique Binary Search Trees 不同的二叉搜索树
- 98. Validate Binary Search Tree 验证二叉搜索树
- 99. Recover Binary Search Tree 恢复二叉搜索树
- 100. Same Tree 相同的树
- 101. Symmetric Tree 对称二叉树
- 102. Binary Tree Level Order Traversal 二叉树的层序遍历
- 104. Maximum Depth of Binary Tree 二叉树的最大深度
- 105. Construct Binary Tree from Preorder and Inorder Traversal 从前序与中序遍历序列构造二叉树
- 106. Construct Binary Tree from Inorder and Postorder Traversal 从中序与后序遍历序列构造二叉树
- 107. Binary Tree Level Order Traversal II 二叉树的层序遍历 II
- 108. Convert Sorted Array to Binary Search Tree 将有序数组转换为二叉搜索树
- 109. Convert Sorted List to Binary Search Tree 有序链表转换二叉搜索树
- 111. Minimum Depth of Binary Tree 二叉树的最小深度
- 112. Path Sum 路径总和
- 113. Path Sum II 路径总和 II
- 114. Flatten Binary Tree to Linked List 二叉树展开为链表
- 116. Populating Next Right Pointers in Each Node 填充每个节点的下一个右侧节点指针
- 117. Populating Next Right Pointers in Each Node II 填充每个节点的下一个右侧节点指针 II
- 124. Binary Tree Maximum Path Sum 二叉树中的最大路径和
- 129. Sum Root to Leaf Numbers 求根节点到叶节点数字之和
- 144. Binary Tree Preorder Traversal 二叉树的前序遍历
- 145. Binary Tree Postorder Traversal 二叉树的后序遍历
- 156. Binary Tree Upside Down 上下翻转二叉树
- 173. Binary Search Tree Iterator 二叉搜索树迭代器
- 199. Binary Tree Right Side View 二叉树的右视图
- 222. Count Complete Tree Nodes 完全二叉树的节点个数
- 226. Invert Binary Tree 翻转二叉树
- 230. Kth Smallest Element in a BST 二叉搜索树中第K小的元素
- 235. Lowest Common Ancestor of a Binary Search Tree 二叉搜索树的最近公共祖先
- 236. Lowest Common Ancestor of a Binary Tree 二叉树的最近公共祖先
- 257. Binary Tree Paths 二叉树的所有路径
- 270. Closest Binary Search Tree Value 最接近的二叉搜索树值
- 297. Serialize and Deserialize Binary Tree 二叉树的序列化与反序列化
- 331. Verify Preorder Serialization of a Binary Tree 验证二叉树的前序序列化
- 333. Largest BST Subtree 最大 BST 子树
- 337. House Robber III 打家劫舍 III
- 366. Find Leaves of Binary Tree 寻找二叉树的叶子节点
- 404. Sum of Left Leaves 左叶子之和
- 426. Convert Binary Search Tree to Sorted Doubly Linked List 将二叉搜索树转化为排序的双向链表
- 437. Path Sum III 路径总和 III
- 449. Serialize and Deserialize BST 序列化和反序列化二叉搜索树
- 450. Delete Node in a BST 删除二叉搜索树中的节点
- 501. Find Mode in Binary Search Tree 二叉搜索树中的众数
- 508. Most Frequent Subtree Sum 出现次数最多的子树元素和
- 513. Find Bottom Left Tree Value 找树左下角的值
- 515. Find Largest Value in Each Tree Row 在每个树行中找最大值
- 530. Minimum Absolute Difference in BST 二叉搜索树的最小绝对差
- 536. Construct Binary Tree from String 从字符串生成二叉树
- 538. Convert BST to Greater Tree 把二叉搜索树转换为累加树
- 543. Diameter of Binary Tree 二叉树的直径
- 563. Binary Tree Tilt 二叉树的坡度
- 572. Subtree of Another Tree 另一棵树的子树
- 606. Construct String from Binary Tree 根据二叉树创建字符串
- 617. Merge Two Binary Trees 合并二叉树
- 623. Add One Row to Tree 在二叉树中增加一行
- 637. Average of Levels in Binary Tree 二叉树的层平均值
- 652. Find Duplicate Subtrees 寻找重复的子树
- 653. Two Sum IV - Input is a BST 两数之和 IV - 输入 BST
- 654. Maximum Binary Tree 最大二叉树
- 655. Print Binary Tree 输出二叉树
- 662. Maximum Width of Binary Tree 二叉树最大宽度
- 663. Equal Tree Partition 均匀树划分
- 666. Path Sum IV 路径总和 IV
- 669. Trim a Binary Search Tree 修剪二叉搜索树
- 671. Second Minimum Node In a Binary Tree 二叉树中第二小的节点
- 687. Longest Univalue Path 最长同值路径
- 700. Search in a Binary Search Tree 二叉搜索树中的搜索
- 701. Insert into a Binary Search Tree 二叉搜索树中的插入操作
- 703. Kth Largest Element in a Stream 数据流中的第 K 大元素
- 783. Minimum Distance Between BST Nodes 二叉搜索树节点最小距离
- 814. Binary Tree Pruning 二叉树剪枝
- 863. All Nodes Distance K in Binary Tree 二叉树中所有距离为 K 的结点
- 865. Smallest Subtree with all the Deepest Nodes 具有所有最深节点的最小子树
- 872. Leaf-Similar Trees 叶子相似的树
- 889. Construct Binary Tree from Preorder and Postorder Traversal 根据前序和后序遍历构造二叉树
- 894. All Possible Full Binary Trees 所有可能的真二叉树
- 897. Increasing Order Search Tree 递增顺序搜索树
- 919. Complete Binary Tree Inserter 完全二叉树插入器
- 938. Range Sum of BST 二叉搜索树的范围和
- 951. Flip Equivalent Binary Trees 翻转等价二叉树
- 958. Check Completeness of a Binary Tree 二叉树的完全性检验
- 965. Univalued Binary Tree 单值二叉树
- 968. Binary Tree Cameras 监控二叉树
- 971. Flip Binary Tree To Match Preorder Traversal 翻转二叉树以匹配先序遍历
- 979. Distribute Coins in Binary Tree 在二叉树中分配硬币
- 987. Vertical Order Traversal of a Binary Tree 二叉树的垂序遍历
- 988. Smallest String Starting From Leaf 从叶结点开始的最小字符串
- 993. Cousins in Binary Tree 二叉树的堂兄弟节点
- 998. Maximum Binary Tree II 最大二叉树 II
- 1008. Construct Binary Search Tree from Preorder Traversal 前序遍历构造二叉搜索树
- 1022. Sum of Root To Leaf Binary Numbers 从根到叶的二进制数之和
- 1110. Delete Nodes And Return Forest 删点成林
- 1120. Maximum Average Subtree 子树的最大平均值
- 1161. Maximum Level Sum of a Binary Tree 最大层内元素和
- 1305. All Elements in Two Binary Search Trees 两棵二叉搜索树中的所有元素

评论与交流