摘要: 标题:Remove Duplicates from Sorted Array通过率:31.9%难度简单Given a sorted array, remove the duplicates in place such that each element appear onlyonceand retu... 阅读全文
posted @ 2014-12-18 13:54 pku_smile 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 标题:Balanced Binary Tree通过率:32.3%难度:简单Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is define... 阅读全文
posted @ 2014-12-18 13:45 pku_smile 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 标题:Maximum Depth of Binary Tree通过率:44.2%难度:简单Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest pa... 阅读全文
posted @ 2014-12-18 13:34 pku_smile 阅读(163) 评论(0) 推荐(0) 编辑