上一页 1 2 3 4 5 6 7 8 9 10 ··· 19 下一页
摘要: Invert Binary TreeTotal Accepted:55757Total Submissions:132365Difficulty:EasyInvert a binary tree. 4 / \ 2 7 / \ / \1 3 6 9to 4... 阅读全文
posted @ 2015-12-17 11:44 zengzy 阅读(131) 评论(0) 推荐(0) 编辑
摘要: Path SumTotal Accepted:81706Total Submissions:269391Difficulty:EasyGiven a binary tree and a sum, determine if the tree has a root-to-leaf path such t... 阅读全文
posted @ 2015-12-17 11:22 zengzy 阅读(218) 评论(0) 推荐(0) 编辑
摘要: Same TreeTotal Accepted:98221Total Submissions:232503Difficulty:EasyGiven two binary trees, write a function to check if they are equal or not.Two bin... 阅读全文
posted @ 2015-12-17 11:00 zengzy 阅读(137) 评论(0) 推荐(0) 编辑
摘要: Symmetric TreeTotal Accepted:84678Total Submissions:259420Difficulty:EasyGiven a binary tree, check whether it is a mirror of itself (ie, symmetric ar... 阅读全文
posted @ 2015-12-17 10:45 zengzy 阅读(136) 评论(0) 推荐(0) 编辑
摘要: Binary Tree Level Order TraversalTotal Accepted:79463Total Submissions:259292Difficulty:EasyGiven a binary tree, return thelevel ordertraversal of its... 阅读全文
posted @ 2015-12-17 10:00 zengzy 阅读(409) 评论(0) 推荐(0) 编辑
摘要: Minimum Depth of Binary TreeTotal Accepted:84038Total Submissions:283068Difficulty:EasyGiven a binary tree, find its minimum depth.The minimum depth i... 阅读全文
posted @ 2015-12-17 09:40 zengzy 阅读(152) 评论(0) 推荐(0) 编辑
摘要: Maximum Depth of Binary TreeTotal Accepted:107337Total Submissions:231121Difficulty:EasyGiven a binary tree, find its maximum depth.The maximum depth ... 阅读全文
posted @ 2015-12-17 09:30 zengzy 阅读(123) 评论(0) 推荐(0) 编辑
摘要: Balanced Binary TreeTotal Accepted:86508Total Submissions:263690Difficulty:EasyGiven a binary tree, determine if it is height-balanced.For this proble... 阅读全文
posted @ 2015-12-17 09:25 zengzy 阅读(159) 评论(0) 推荐(0) 编辑
摘要: Bitwise AND of Numbers RangeTotal Accepted:24968Total Submissions:89204Difficulty:MediumGiven a range [m, n] where 0 >= 1 ; n >>= 1 ; ... 阅读全文
posted @ 2015-12-16 23:34 zengzy 阅读(130) 评论(0) 推荐(0) 编辑
摘要: Maximum Product of Word LengthsTotal Accepted:750Total Submissions:2060Difficulty:MediumGiven a string arraywords, find the maximum value oflength(wor... 阅读全文
posted @ 2015-12-16 21:38 zengzy 阅读(301) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 19 下一页
levels of contents