码迷,mamicode.com
首页 >  
搜索关键字:binary    ( 11734个结果)
Path Sum
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. F
分类:其他好文   时间:2016-03-15 23:16:23    阅读次数:187
297. Serialize and Deserialize Binary Tree
Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory buffer, or
分类:其他好文   时间:2016-03-15 17:17:36    阅读次数:304
lintcode-medium-Binary Tree Maximum Path Sum
Given a binary tree, find the maximum path sum. The path may start and end at any node in the tree. Given the below binary tree: return 6.   一个二叉树的最大量
分类:其他好文   时间:2016-03-15 07:28:56    阅读次数:171
lintcode-medium-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 right, level by level from leaf to root). Give
分类:其他好文   时间:2016-03-14 18:34:10    阅读次数:147
lintcode-medium-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 level).   Given binary tree {3,9,20,#,#,
分类:其他好文   时间:2016-03-14 18:30:25    阅读次数:123
lintcode-medium-Balanced Binary Tree
Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as a binary tree in which the dept
分类:其他好文   时间:2016-03-14 15:17:35    阅读次数:145
LeetCode题目:Balanced Binary Tree
Balanced Binary Tree
分类:其他好文   时间:2016-03-14 13:36:52    阅读次数:107
96_Unique Binary Search Trees
Given n, how many structurally unique BST's (binary search trees) that store values 1...n? For example,Given n = 3, there are a total of 5 unique BST'
分类:其他好文   时间:2016-03-14 11:55:20    阅读次数:152
106. Construct Binary Tree from Inorder and Postorder Traversal
Note:You may assume that duplicates do not exist in the tree.   Subscribe to see which companies asked this question  
分类:其他好文   时间:2016-03-14 07:09:20    阅读次数:172
105. Construct Binary Tree from Preorder and Inorder Traversal
Note:You may assume that duplicates do not exist in the tree.   Subscribe to see which companies asked this question      
分类:其他好文   时间:2016-03-14 07:05:24    阅读次数:159
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!