码迷,mamicode.com
首页 >  
搜索关键字:values    ( 8569个结果
LeetCode:Binary Tree Zigzag Level Order Traversal
题目描述: Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to right, then right to left for the next level and alternate between). For example: Gi...
分类:其他好文   时间:2014-12-01 10:12:10    阅读次数:207
【LeetCode】Binary Tree Level Order Traversal
Binary Tree Level Order TraversalGiven a binary tree, return thelevel ordertraversal of its nodes' values. (ie, from left to right, level by level).Fo...
分类:其他好文   时间:2014-11-30 21:18:59    阅读次数:226
【LeetCode】Binary Tree Zigzag Level Order Traversal
Binary Tree Zigzag Level Order TraversalGiven a binary tree, return thezigzag level ordertraversal of its nodes' values. (ie, from left to right, then...
分类:其他好文   时间:2014-11-30 18:29:54    阅读次数:204
【LeetCode】Path Sum
Path SumGiven 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 give...
分类:其他好文   时间:2014-11-29 15:49:23    阅读次数:135
[LeetCode] PathSum
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.Fo...
分类:其他好文   时间:2014-11-29 11:37:32    阅读次数:131
Leetcode-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). For example:Given binary tree {3...
分类:其他好文   时间:2014-11-29 07:06:01    阅读次数:191
Leetcode-Unique Binary Search Trees II
Given n, generate all structurally unique BST's (binary search trees) that store values 1...n. For example,Given n = 3, your program should return all...
分类:其他好文   时间:2014-11-29 06:47:54    阅读次数:165
Leetcode-Binary Tree Inorder Traversal
Given a binary tree, return the inorder traversal of its nodes' values. For example:Given binary tree {1,#,2,3}, 1 \ 2 / 3return [1,3,2]...
分类:其他好文   时间:2014-11-29 06:47:04    阅读次数:137
Leetcode-binary Tree Zigzag Level Order Traversal
Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to right, then right to left for the next level and ...
分类:其他好文   时间:2014-11-29 06:40:34    阅读次数:167
Leetcode-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'...
分类:其他好文   时间:2014-11-29 06:36:51    阅读次数:160
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!