Problem:Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area.For example, given the follow...
分类:
其他好文 时间:
2015-06-07 23:31:41
阅读次数:
123
题目描述
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,9,20,#,#,15,7}, 3
/ 9...
分类:
其他好文 时间:
2015-06-07 21:40:23
阅读次数:
102
题目描述
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)....
分类:
其他好文 时间:
2015-06-07 21:38:29
阅读次数:
119
Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom. For exa...
分类:
编程语言 时间:
2015-06-07 18:38:54
阅读次数:
200
http://www.cnblogs.com/yangecnu/p/Introduce-Binary-Search-Tree.html作者:yangecnu(yangecnu's Blog on 博客园)出处:http://www.cnblogs.com/yangecnu/英文原文的出处:http:...
分类:
编程语言 时间:
2015-06-07 17:09:15
阅读次数:
137
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area.For example, given the following matr...
分类:
其他好文 时间:
2015-06-07 14:34:37
阅读次数:
198
Given acompletebinary tree, count the number of nodes.Definition of a complete binary tree fromWikipedia:In a complete binary tree every level, except...
分类:
其他好文 时间:
2015-06-07 14:29:43
阅读次数:
102
Count Complete Tree NodesGiven acompletebinary tree, count the number of nodes.Definition of a complete binary tree fromWikipedia:In a complete binary...
分类:
编程语言 时间:
2015-06-07 12:34:38
阅读次数:
102
Given a complete binary tree, count the number of nodes.
Definition of a complete binary tree from Wikipedia:
In a complete binary tree every level, except possibly the last, is completely fille...
分类:
其他好文 时间:
2015-06-07 09:40:53
阅读次数:
375
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 ...
分类:
其他好文 时间:
2015-06-07 00:57:39
阅读次数:
112