摘要:        
Unique Binary Search TreesTotal Accepted:69271Total Submissions:191174Difficulty:MediumGivenn, how many structurally uniqueBST's(binary search trees) ...    阅读全文
        
            posted @ 2015-12-17 22:10
zengzy
阅读(200)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
Validate Binary Search TreeTotal Accepted:73179Total Submissions:359616Difficulty:MediumGiven a binary tree, determine if it is a valid binary search ...    阅读全文
        
            posted @ 2015-12-17 21:10
zengzy
阅读(165)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
Populating Next Right Pointers in Each NodeTotal Accepted:72323Total Submissions:199207Difficulty:MediumGiven a binary tree struct TreeLinkNode { ...    阅读全文
        
            posted @ 2015-12-17 18:36
zengzy
阅读(243)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
Binary Tree Right Side ViewTotal Accepted:28755Total Submissions:92186Difficulty:MediumGiven a binary tree, imagine yourself standing on therightside ...    阅读全文
        
            posted @ 2015-12-17 18:14
zengzy
阅读(146)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
Sum Root to Leaf NumbersTotal Accepted:63531Total Submissions:202910Difficulty:MediumGiven a binary tree containing digits from0-9only, each root-to-l...    阅读全文
        
            posted @ 2015-12-17 17:11
zengzy
阅读(244)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
Binary Search Tree IteratorTotal Accepted:34935Total Submissions:109369Difficulty:MediumImplement an iterator over a binary search tree (BST). Your it...    阅读全文
        
            posted @ 2015-12-17 17:03
zengzy
阅读(137)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
Binary Tree PathsTotal Accepted:26174Total Submissions:104545Difficulty:EasyGiven a binary tree, return all root-to-leaf paths.For example, given the ...    阅读全文
        
            posted @ 2015-12-17 15:32
zengzy
阅读(185)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
1、Lowest Common Ancestor of a Binary Search Tree Total Accepted: 42225 Total Submissions: 111243 Difficulty: Easy Given a binary search tree (BST), fi    阅读全文
        
            posted @ 2015-12-17 15:11
zengzy
阅读(185)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
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
阅读(141)
评论(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
阅读(222)
评论(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
阅读(142)
评论(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
阅读(137)
评论(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
阅读(413)
评论(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
阅读(155)
评论(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
阅读(126)
评论(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
阅读(162)
评论(0)
推荐(0)
        
        
 
                     
                    
                 
                    
                 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号