摘要: Count Complete Tree NodesGiven acompletebinary tree, count the number of nodes.Definition of a complete binary tree fromWikipedia:In a complete binary... 阅读全文
posted @ 2015-07-09 17:48 陆草纯 阅读(198) 评论(0) 推荐(0) 编辑
摘要: Maximal SquareGiven 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 ... 阅读全文
posted @ 2015-07-09 10:53 陆草纯 阅读(612) 评论(0) 推荐(0) 编辑