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
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
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
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
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
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
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
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
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