Tree

Subscribe to see which companies asked this question

You have solved  0/ 73 problems.
# Title Acceptance Difficulty
671 Second Minimum Node In a Binary Tree 42.9% Easy
669 Trim a Binary Search Tree 59.2% Easy
666 Path Sum IV 49.4% Medium
663 Equal Tree Partition 36.9% Medium
662 Maximum Width of Binary Tree 37.2% Medium
655 Print Binary Tree 50.7% Medium
654 Maximum Binary Tree 70.4% Medium
653 Two Sum IV - Input is a BST 50.6% Easy
652 Find Duplicate Subtrees 33.7% Medium
637 Average of Levels in Binary Tree 55.9% Easy
623 Add One Row to Tree 46.8% Medium
617 Merge Two Binary Trees 68.1% Easy
606 Construct String from Binary Tree 49.8% Easy
582 Kill Process 49.3% Medium
572 Subtree of Another Tree 40.7% Easy
563 Binary Tree Tilt 46.9% Easy
549 Binary Tree Longest Consecutive Sequence II 40.8% Medium
545 Boundary of Binary Tree 31.5% Medium
543 Diameter of Binary Tree 44.0% Easy
538 Convert BST to Greater Tree 49.6% Easy
536 Construct Binary Tree from String 40.9% Medium
515 Find Largest Value in Each Tree Row 54.9% Medium
513 Find Bottom Left Tree Value 56.0% Medium
508 Most Frequent Subtree Sum 52.5% Medium
501 Find Mode in Binary Search Tree 37.8% Easy
450 Delete Node in a BST 36.9% Medium
449 Serialize and Deserialize BST 42.4% Medium
437 Path Sum III 39.8% Easy
404 Sum of Left Leaves 47.0% Easy
366 Find Leaves of Binary Tree 59.9% Medium
337 House Robber III 43.7% Medium
333 Largest BST Subtree 30.7% Medium
298 Binary Tree Longest Consecutive Sequence 41.1% Medium
297 Serialize and Deserialize Binary Tree 33.6% Hard
285 Inorder Successor in BST 36.1% Medium
272 Closest Binary Search Tree Value II 39.1% Hard
270 Closest Binary Search Tree Value 39.6% Easy
257 Binary Tree Paths 38.9% Easy
255 Verify Preorder Sequence in Binary Search Tree 40.3% Medium
250 Count Univalue Subtrees 42.3% Medium
236 Lowest Common Ancestor of a Binary Tree 29.9% Medium
235 Lowest Common Ancestor of a Binary Search Tree 39.2% Easy
230 Kth Smallest Element in a BST 44.0% Medium
226 Invert Binary Tree 52.1% Easy
222 Count Complete Tree Nodes 27.5% Medium
199 Binary Tree Right Side View 41.2% Medium
173 Binary Search Tree Iterator 41.7% Medium
156 Binary Tree Upside Down 44.7% Medium
145 Binary Tree Postorder Traversal 40.5% Hard
144 Binary Tree Preorder Traversal 45.3% Medium
129 Sum Root to Leaf Numbers 36.9% Medium
124 Binary Tree Maximum Path Sum 26.3% Hard
117 Populating Next Right Pointers in Each Node II 33.8% Medium
116 Populating Next Right Pointers in Each Node 36.9% Medium
114 Flatten Binary Tree to Linked List 35.3% Medium
113 Path Sum II 34.0% Medium
112 Path Sum 34.1% Easy
111 Minimum Depth of Binary Tree 33.2% Easy
110 Balanced Binary Tree 37.6% Easy
108 Convert Sorted Array to Binary Search Tree 42.4% Easy
107 Binary Tree Level Order Traversal II 40.5% Easy
106 Construct Binary Tree from Inorder and Postorder Traversal 32.3% Medium
105 Construct Binary Tree from Preorder and Inorder Traversal 32.5% Medium
104 Maximum Depth of Binary Tree 52.9% Easy
103 Binary Tree Zigzag Level Order Traversal 34.9% Medium
102 Binary Tree Level Order Traversal 40.2% Medium
101 Symmetric Tree 39.0% Easy
100 Same Tree 46.6% Easy
99 Recover Binary Search Tree 30.0% Hard
98 Validate Binary Search Tree 23.5% Medium
96 Unique Binary Search Trees 41.2% Medium
95 Unique Binary Search Trees II 31.6% Medium
94 Binary Tree Inorder Traversal 47.1% Medium