
二叉树
acttell
这个作者很懒,什么都没留下…
展开
-
前序和中序遍历建立二叉树[LeetCode] Construct Binary Tree from Preorder and Inorder Traversal
https://www.cnblogs.com/grandyang/p/4296500.html原创 2019-10-15 03:35:30 · 203 阅读 · 0 评论 -
二叉树:输出根节点到叶子的路径
https://blog.youkuaiyun.com/xiezongsheng1990/article/details/79574892原创 2019-09-24 02:58:26 · 515 阅读 · 0 评论 -
Binary Tree Zigzag Level Order Traversal 二叉树层序遍历
二叉树,奇书层从左向右,偶数层从右向左进行输出https://www.cnblogs.com/grandyang/p/4297009.html原创 2019-07-08 01:26:50 · 174 阅读 · 0 评论 -
leetcode 96 不同的二叉查找树
https://blog.youkuaiyun.com/qq_38595487/article/details/79598628原创 2019-05-04 22:04:58 · 126 阅读 · 0 评论 -
leetcode Convert Sorted Array to Binary Search Tree 有序数组转为二叉搜索树
https://www.cnblogs.com/grandyang/p/4295245.htmlhttps://www.cnblogs.com/springfor/p/3879823.html原创 2019-05-03 16:30:11 · 103 阅读 · 0 评论 -
leetcode Maximum Depth of Binary Tree 二叉树的最大深度
https://www.cnblogs.com/grandyang/p/4051348.html原创 2019-05-02 22:12:30 · 104 阅读 · 0 评论 -
leetcode Kth Smallest Element in a BST 二叉搜索树中的第K小的元素
http://www.cnblogs.com/grandyang/p/4620012.html原创 2019-05-02 21:05:11 · 120 阅读 · 0 评论 -
leetcode Kth Smallest Element in a BST 二叉搜索树中的第K小的元素
Given a binary search tree, write a function kthSmallest to find the kth smallest element in it.Note:You may assume k is always valid, 1 ≤ k ≤ BST’s total elements.Follow up:What if the BST is mod...原创 2018-11-27 16:49:30 · 218 阅读 · 0 评论 -
leetcode Find Duplicate Subtrees 寻找重复树
Given a binary tree, return all duplicate subtrees. For each kind of duplicate subtrees, you only need to return the root node of any oneof them.Two trees are duplicate if they have the same structur...原创 2018-11-29 13:24:23 · 219 阅读 · 0 评论 -
leetcode Invert Binary Tree 翻转二叉树
https://www.cnblogs.com/grandyang/p/4572877.html原创 2018-10-03 13:41:28 · 185 阅读 · 0 评论 -
leetcode Binary Tree Right Side View 输出二叉树右侧视图
https://blog.youkuaiyun.com/sinat_20177327/article/details/82052368原创 2018-09-25 07:56:54 · 350 阅读 · 0 评论 -
二叉树递归与非递归遍历
https://www.cnblogs.com/SHERO-Vae/p/5800363.html原创 2018-09-25 00:07:05 · 193 阅读 · 0 评论 -
leetcode Lowest Common Ancestor of a Binary Tree 二叉树最低共同父节点
https://www.cnblogs.com/grandyang/p/4641968.html原创 2018-09-23 21:22:10 · 143 阅读 · 0 评论 -
leetcode Binary Tree Level Order Traversal 二叉树层序遍历
http://www.cnblogs.com/grandyang/p/4051321.html原创 2018-09-17 09:26:27 · 274 阅读 · 0 评论 -
leetcode Construct Binary Tree from Preorder and Inorder Traversal 由先序和中序遍历建立二叉树
https://www.cnblogs.com/grandyang/p/4296500.html原创 2018-09-10 02:54:51 · 155 阅读 · 0 评论 -
二叉树的深度和宽度
https://blog.youkuaiyun.com/K346K346/article/details/51076268原创 2018-09-08 22:46:14 · 4322 阅读 · 0 评论 -
剑指offer 二叉树中和为某一值的所有路径
题目: 输入一个整数和一棵二叉树。打印出和与输入整数相等的所有路径。例子: 例如输入整数22和如下二叉树 10 / \ ...原创 2018-06-18 12:22:08 · 197 阅读 · 0 评论