随笔分类 - 

摘要:Recover Binary Search Tree 题解 题目来源:https://leetcode.com/problems/recover binary search tree/description/ Description Two elements of a binary search t 阅读全文
posted @ 2018-02-21 16:06 言何午 阅读(149) 评论(0) 推荐(0)
摘要:Flatten Binary Tree to Linked List 题解 题目来源:https://leetcode.com/problems/ Description Given a binary tree, flatten it to a linked list in place. Examp 阅读全文
posted @ 2018-02-06 22:02 言何午 阅读(110) 评论(0) 推荐(0)
摘要:Minimum Depth of Binary Tree 题解 题目来源:https://leetcode.com/problems/minimum depth of binary tree/description/ Description Given a binary tree, find its 阅读全文
posted @ 2018-02-03 11:42 言何午 阅读(101) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2018-02-02 17:36 言何午 阅读(96) 评论(0) 推荐(0)
摘要:Convert Sorted List to Binary Search Tree 题解 题目来源:https://leetcode.com/problems/convert sorted list to binary search tree/description/ Description Giv 阅读全文
posted @ 2018-02-02 16:22 言何午 阅读(107) 评论(0) 推荐(0)
摘要:Balanced Binary Tree 题解 题目来源:https://leetcode.com/problems/balanced binary tree/description/ Description Given a binary tree, determine if it is heigh 阅读全文
posted @ 2018-02-01 19:34 言何午 阅读(104) 评论(0) 推荐(0)
摘要:Convert Sorted Array to Binary Search Tree 题解 题目来源:https://leetcode.com/problems/convert sorted array to binary search tree/description/ Description G 阅读全文
posted @ 2018-02-01 16:03 言何午 阅读(114) 评论(0) 推荐(0)
摘要:Construct Binary Tree from Preorder and Inorder Traversal 题解 题目来源:https://leetcode.com/problems/construct binary tree from preorder and inorder traver 阅读全文
posted @ 2018-02-01 15:31 言何午 阅读(97) 评论(0) 推荐(0)
摘要:Binary Tree Zigzag Level Order Traversal 题解 题目来源:https://leetcode.com/problems/binary tree zigzag level order traversal/description/ Description Given 阅读全文
posted @ 2018-01-30 16:19 言何午 阅读(97) 评论(0) 推荐(0)
摘要:Binary Tree Level Order Traversal II 题解 题目来源:https://leetcode.com/problems/binary tree level order traversal ii/description/ Description Given a binar 阅读全文
posted @ 2018-01-30 15:38 言何午 阅读(111) 评论(0) 推荐(0)
摘要:Symmetric Tree 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/symmetric tree/description/ Description Given a binary tree, check whether it is a mirr 阅读全文
posted @ 2018-01-26 15:03 言何午 阅读(112) 评论(0) 推荐(0)
摘要:Maximum Depth of Binary Tree 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/maximum depth of binary tree/description/ Description Given a binary tree 阅读全文
posted @ 2018-01-26 12:54 言何午 阅读(99) 评论(0) 推荐(0)
摘要:Binary Tree Level Order Traversal 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/binary tree level order traversal/description/ Description Given a b 阅读全文
posted @ 2018-01-26 11:28 言何午 阅读(152) 评论(0) 推荐(0)
摘要:Validate Binary Search Tree 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/validate binary search tree/description/ Description Given a binary tree, 阅读全文
posted @ 2018-01-26 10:53 言何午 阅读(123) 评论(0) 推荐(0)
摘要:Unique Binary Search Trees II 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/unique binary search trees ii/description/ Description Given an integer 阅读全文
posted @ 2018-01-23 22:15 言何午 阅读(117) 评论(0) 推荐(0)
摘要:Unique Binary Search Trees 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/unique binary search trees/description/ Description Given n, how many struc 阅读全文
posted @ 2018-01-22 21:18 言何午 阅读(89) 评论(0) 推荐(0)
摘要:Binary Tree Inorder Traversal 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/binary tree inorder traversal/description/ Description Given a binary tr 阅读全文
posted @ 2018-01-22 20:07 言何午 阅读(160) 评论(0) 推荐(0)
摘要:Same Tree 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/same tree/description/ Description Given two binary trees, write a function to check if they 阅读全文
posted @ 2018-01-22 18:08 言何午 阅读(132) 评论(0) 推荐(0)
摘要:Range Sum Query Mutable 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/range sum query mutable/description/ Description Given an integer array nums, 阅读全文
posted @ 2017-12-21 21:26 言何午 阅读(140) 评论(0) 推荐(0)
摘要:Populating Next Right Pointers in Each Node II 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/populating next right pointers in each node ii/descript 阅读全文
posted @ 2017-12-15 02:05 言何午 阅读(116) 评论(0) 推荐(0)