摘要: 109. Convert Sorted List to Binary Search Tree Given a singly linked list where elements are sorted in ascending order, convert it to a height balance 阅读全文
posted @ 2019-04-15 21:16 mingL 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 108. Convert Sorted Array to Binary Search Tree Given an array where elements are sorted in ascending order, convert it to a height balanced BST. For 阅读全文
posted @ 2019-04-15 21:10 mingL 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 107. Binary Tree Level Order Traversal II Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to righ 阅读全文
posted @ 2019-04-15 21:06 mingL 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 106. Construct Binary Tree from Inorder and Postorder Traversal Given inorder and postorder traversal of a tree, construct the binary tree. Note:You m 阅读全文
posted @ 2019-04-15 21:04 mingL 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 105. Construct Binary Tree from Preorder and Inorder Traversal Given preorder and inorder traversal of a tree, construct the binary tree. Note:You may 阅读全文
posted @ 2019-04-15 21:00 mingL 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 104. Maximum Depth of Binary Tree Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from th 阅读全文
posted @ 2019-04-15 20:57 mingL 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 103. Binary Tree Zigzag Level Order Traversal Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to rig 阅读全文
posted @ 2019-04-15 20:54 mingL 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 102. Binary Tree Level Order Traversal Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by l 阅读全文
posted @ 2019-04-15 20:47 mingL 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 101. Symmetric Tree Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree [1,2, 阅读全文
posted @ 2019-04-15 20:39 mingL 阅读(189) 评论(0) 推荐(0) 编辑