2015年6月9日

222. Count Complete Tree Nodes

摘要: Given acompletebinary tree, count the number of nodes.Definition of a complete binary tree fromWikipedia:In a complete binary tree every level, except... 阅读全文

posted @ 2015-06-09 09:13 shini 阅读(141) 评论(0) 推荐(0) 编辑

223. Rectangle Area

摘要: Find the total area covered by tworectilinearrectangles in a2Dplane.Each rectangle is defined by its bottom left corner and top right corner as shown ... 阅读全文

posted @ 2015-06-09 08:45 shini 阅读(77) 评论(0) 推荐(0) 编辑

导航