Leetcode刷题
六. 二叉树
题目索引
1. LeetCode 144. 二叉树的前序遍历
https://leetcode-cn.com/problems/binary-tree-preorder-traversal/
2. LeetCode 94. 二叉树的中序遍历
https://leetcode-cn.com/problems/binary-tree-inorder-traversal/
3. LeetCode 145. 二叉树的后序遍历
https://leetcode-cn.com/problems/binary-tree-postorder-traversal/
4. LeetCode 102. 二叉树的层序遍历
https://leetcode-cn.com/problems/binary-tree-level-order-traversal/
5. LeetCode 226. 翻转二叉树
https://leetcode-cn.com/problems/invert-binary-tree/
6. LeetCode 101. 对称二叉树
https://leetcode-cn.com/problems/symmetric-tree/
7. LeetCode 104. 二叉树的最大深度
https://leetcode-cn.com/problems/maximum-depth-of-binary-tree/
8. LeetCode 111. 二叉树的最小深度
https://leetcode-cn.com/problems/minimum-depth-of-binary-tree/
9. LeetCode 110. 平衡二叉树
https://leetcode-cn.com/problems/balanced-binary-tree/
10. LeetCode 257. 二叉树的所有路径
https://leetcode-cn.com/problems/binary-tree-paths/
11. LeetCode 112. 路径总和
https://leetcode-cn.com/problems/path-sum/
12. LeetCode 113. 路径总和 II
https://leetcode-cn.com/problems/path-sum-ii/
13. LeetCode 106. 从中序与后序遍历序列构造二叉树
https://leetcode-cn.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal/
14. LeetCode 105. 从前序与中序遍历序列构造二叉树
https://leetcode-cn.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/
15. LeetCode 617. 合并二叉树
https://leetcode-cn.com/problems/merge-two-binary-trees/
16. LeetCode 700. 二叉搜索树中的搜索
https://leetcode-cn.com/problems/search-in-a-binary-search-tree/
17. LeetCode 98. 验证二叉搜索树
https://leetcode-cn.com/problems/validate-binary-search-tree/
18. LeetCode 98. 验证二叉搜索树LeetCode 530. 二叉搜索树的最小绝对差
https://leetcode-cn.com/problems/minimum-absolute-difference-in-bst/
19. LeetCode 98. 验证二叉搜索树LeetCode 501. 二叉搜索树中的众数
https://leetcode-cn.com/problems/find-mode-in-binary-search-tree/
20. LeetCode 98. 验证二叉搜索树LeetCode 236. 二叉树的最近公共祖先
https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-tree/
21. LeetCode 98. 验证二叉搜索树LeetCode 235. 二叉搜索树的最近公共祖先
https://leetcode-cn.com/problems/lowest-common-ancestor-of-a-binary-search-tree/
22. LeetCode 98. 验证二叉搜索树LeetCode 701. 二叉搜索树中的插入操作
https://leetcode-cn.com/problems/insert-into-a-binary-search-tree/
23. LeetCode 98. 验证二叉搜索树LeetCode 450. 删除二叉搜索树中的节点
https://leetcode-cn.com/problems/delete-node-in-a-bst/
24. LeetCode 98. 验证二叉搜索树LeetCode 669. 修剪二叉搜索树
https://leetcode-cn.com/problems/trim-a-binary-search-tree/
25. LeetCode 98. 验证二叉搜索树LeetCode 108. 将有序数组转换为二叉搜索树
https://leetcode-cn.com/problems/convert-sorted-array-to-binary-search-tree/