Tree

Subscribe to see which companies asked this question

You have solved  0/ 52 problems.
# Title Acceptance Difficulty
515 Find Largest Value in Each Tree Row 52.7% Medium
513 Find Bottom Left Tree Value 55.1% Medium
508 Most Frequent Subtree Sum 52.2% Medium
501 Find Mode in Binary Search Tree 39.2% Easy
450 Delete Node in a BST 35.0% Medium
449 Serialize and Deserialize BST 41.3% Medium
437 Path Sum III 38.7% Easy
404 Sum of Left Leaves 46.1% Easy
366 Find Leaves of Binary Tree 57.8% Medium
337 House Robber III 42.0% Medium
333 Largest BST Subtree 29.9% Medium
298 Binary Tree Longest Consecutive Sequence 40.3% Medium
297 Serialize and Deserialize Binary Tree 32.1% Hard
285 Inorder Successor in BST 36.2% Medium
272 Closest Binary Search Tree Value II 37.9% Hard
270 Closest Binary Search Tree Value 38.5% Easy
257 Binary Tree Paths 35.8% Easy
255 Verify Preorder Sequence in Binary Search Tree 39.3% Medium
250 Count Univalue Subtrees 40.7% Medium
236 Lowest Common Ancestor of a Binary Tree 29.4% Medium
235 Lowest Common Ancestor of a Binary Search Tree 38.3% Easy
230 Kth Smallest Element in a BST 42.4% Medium
226 Invert Binary Tree 50.3% Easy
222 Count Complete Tree Nodes 27.0% Medium
199 Binary Tree Right Side View 39.2% Medium
173 Binary Search Tree Iterator 39.6% Medium
156 Binary Tree Upside Down 43.1% Medium
145 Binary Tree Postorder Traversal 38.8% Hard
144 Binary Tree Preorder Traversal 43.5% Medium
129 Sum Root to Leaf Numbers 35.5% Medium
124 Binary Tree Maximum Path Sum 25.2% Hard
117 Populating Next Right Pointers in Each Node II 33.6% Medium
116 Populating Next Right Pointers in Each Node 36.9% Medium
114 Flatten Binary Tree to Linked List 33.9% Medium
113 Path Sum II 31.9% Medium
112 Path Sum 33.2% Easy
111 Minimum Depth of Binary Tree 32.5% Easy
110 Balanced Binary Tree 36.4% Easy
108 Convert Sorted Array to Binary Search Tree 40.8% Easy
107 Binary Tree Level Order Traversal II 38.3% Easy
106 Construct Binary Tree from Inorder and Postorder Traversal 31.2% Medium
105 Construct Binary Tree from Preorder and Inorder Traversal 31.0% Medium
104 Maximum Depth of Binary Tree 51.2% Easy
103 Binary Tree Zigzag Level Order Traversal 32.7% Medium
102 Binary Tree Level Order Traversal 37.6% Medium
101 Symmetric Tree 37.4% Easy
100 Same Tree 45.5% Easy
99 Recover Binary Search Tree 29.0% Hard
98 Validate Binary Search Tree 22.6% Medium
96 Unique Binary Search Trees 40.0% Medium
95 Unique Binary Search Trees II 30.7% Medium
94 Binary Tree Inorder Traversal 44.4% Medium
Send Feedback