摘要: 标题:Minimum Depth of Binary Tree通过率:29.2%难度:简单Given a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest p... 阅读全文
posted @ 2015-01-18 13:49 pku_smile 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 标题:Binary Tree Level Order Traversal II通过率:30.5%难度:简单Given a binary tree, return thebottom-up level ordertraversal of its nodes' values. (ie, from lef... 阅读全文
posted @ 2015-01-18 11:49 pku_smile 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 标题:Valid Parentheses通过率:27.7%难度:简单Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The b... 阅读全文
posted @ 2015-01-18 11:43 pku_smile 阅读(184) 评论(0) 推荐(0) 编辑