随笔分类 - 树
摘要:Recover Binary Search Tree 题解 题目来源:https://leetcode.com/problems/recover binary search tree/description/ Description Two elements of a binary search t
阅读全文
摘要:Flatten Binary Tree to Linked List 题解 题目来源:https://leetcode.com/problems/ Description Given a binary tree, flatten it to a linked list in place. Examp
阅读全文
摘要:Minimum Depth of Binary Tree 题解 题目来源:https://leetcode.com/problems/minimum depth of binary tree/description/ Description Given a binary tree, find its
阅读全文
摘要:Path Sum 题解 题目来源:https://leetcode.com/problems/path sum/description/ Description Given a binary tree and a sum, determine if the tree has a root to le
阅读全文
摘要:Convert Sorted List to Binary Search Tree 题解 题目来源:https://leetcode.com/problems/convert sorted list to binary search tree/description/ Description Giv
阅读全文
摘要:Balanced Binary Tree 题解 题目来源:https://leetcode.com/problems/balanced binary tree/description/ Description Given a binary tree, determine if it is heigh
阅读全文
摘要:Convert Sorted Array to Binary Search Tree 题解 题目来源:https://leetcode.com/problems/convert sorted array to binary search tree/description/ Description G
阅读全文
摘要:Construct Binary Tree from Preorder and Inorder Traversal 题解 题目来源:https://leetcode.com/problems/construct binary tree from preorder and inorder traver
阅读全文
摘要:Binary Tree Zigzag Level Order Traversal 题解 题目来源:https://leetcode.com/problems/binary tree zigzag level order traversal/description/ Description Given
阅读全文
摘要:Binary Tree Level Order Traversal II 题解 题目来源:https://leetcode.com/problems/binary tree level order traversal ii/description/ Description Given a binar
阅读全文
摘要:Symmetric Tree 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/symmetric tree/description/ Description Given a binary tree, check whether it is a mirr
阅读全文
摘要:Maximum Depth of Binary Tree 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/maximum depth of binary tree/description/ Description Given a binary tree
阅读全文
摘要:Binary Tree Level Order Traversal 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/binary tree level order traversal/description/ Description Given a b
阅读全文
摘要:Validate Binary Search Tree 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/validate binary search tree/description/ Description Given a binary tree,
阅读全文
摘要:Unique Binary Search Trees II 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/unique binary search trees ii/description/ Description Given an integer
阅读全文
摘要:Unique Binary Search Trees 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/unique binary search trees/description/ Description Given n, how many struc
阅读全文
摘要:Binary Tree Inorder Traversal 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/binary tree inorder traversal/description/ Description Given a binary tr
阅读全文
摘要:Same Tree 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/same tree/description/ Description Given two binary trees, write a function to check if they
阅读全文
摘要:Range Sum Query Mutable 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/range sum query mutable/description/ Description Given an integer array nums,
阅读全文
摘要:Populating Next Right Pointers in Each Node II 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/populating next right pointers in each node ii/descript
阅读全文

浙公网安备 33010602011771号