Tree

Binary trees, BSTs, traversals & common patterns

23 Problems
⌘K
#
Problem
Difficulty
Actions
01.
Binary Tree Inorder Traversal
Easy
02.
Binary Tree Preorder Traversal
Easy
03.
Binary Tree Postorder Traversal
Easy
04.
Left View of Binary Tree
Easy
05.
Bottom View of Binary Tree
Medium
06.
Top View of Binary Tree
Medium
07.
Preorder Inorder Postorder in One Traversal
Medium
08.
Vertical Order Traversal of a Binary Tree
Hard
09.
Root to Node Path in Binary Tree
Medium
10.
Maximum Width of Binary Tree
Medium
11.
Binary Tree Level Order Traversal
Medium
12.
Maximum Depth of Binary Tree
Easy
13.
Diameter of Binary Tree
Easy
14.
Balanced Binary Tree
Easy
15.
Lowest Common Ancestor of a Binary Tree
Medium
16.
Same Tree
Easy
17.
Binary Tree Zigzag Level Order Traversal
Medium
18.
Boundary Traversal of Binary Tree
Medium
19.
Symmetric Tree
Easy
20.
Construct Binary Tree from Preorder and Inorder Traversal
Medium
21.
Construct Binary Tree from Inorder and Postorder Traversal
Medium
22.
Flatten Binary Tree to Linked List
Medium
23.
Convert Binary Search Tree to Sorted Doubly Linked List
Medium