摘要:
Invert Binary TreeTotal Accepted:55757Total Submissions:132365Difficulty:EasyInvert a binary tree. 4 / \ 2 7 / \ / \1 3 6 9to 4... 阅读全文
摘要:
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... 阅读全文
摘要:
Same TreeTotal Accepted:98221Total Submissions:232503Difficulty:EasyGiven two binary trees, write a function to check if they are equal or not.Two bin... 阅读全文
摘要:
Symmetric TreeTotal Accepted:84678Total Submissions:259420Difficulty:EasyGiven a binary tree, check whether it is a mirror of itself (ie, symmetric ar... 阅读全文
摘要:
Binary Tree Level Order TraversalTotal Accepted:79463Total Submissions:259292Difficulty:EasyGiven a binary tree, return thelevel ordertraversal of its... 阅读全文
摘要:
Minimum Depth of Binary TreeTotal Accepted:84038Total Submissions:283068Difficulty:EasyGiven a binary tree, find its minimum depth.The minimum depth i... 阅读全文
摘要:
Maximum Depth of Binary TreeTotal Accepted:107337Total Submissions:231121Difficulty:EasyGiven a binary tree, find its maximum depth.The maximum depth ... 阅读全文
摘要:
Balanced Binary TreeTotal Accepted:86508Total Submissions:263690Difficulty:EasyGiven a binary tree, determine if it is height-balanced.For this proble... 阅读全文