Level 6

Tree Data Structure

TUTORIALS

1. Introduction To Tree Data Structure
View Tutorial
2. Binary Tree
View Tutorial
3. Binary Search Tree
View Tutorial
4. Implementation Of Bs Ts
View Tutorial

Tree Data Structure Problems

Traversal
Problem Score Companies Time Status
Vertical Order traversal of Binary Tree 200 63:04
Inorder Traversal 350 30:19
Postorder Traversal 350 28:02
Preorder Traversal 350 14:02
Tries
Problem Score Companies Time Status
Hotel Reviews 200 64:59
Simple tree ops
Problem Score Companies Time Status
Balanced Binary Tree 275 28:25
2 trees
Problem Score Companies Time Status
Identical Binary Trees 300 10:54
Symmetric Binary Tree 300 20:02
Bst traversal
Problem Score Companies Time Status
Kth Smallest Element In Tree 300 26:38
2-Sum Binary Tree 400 54:46
BST Iterator 500 35:13
Recover Binary Search Tree 750
51:05
Inplace change
Problem Score Companies Time Status
Invert the Binary Tree 300
11:58
Level order
Problem Score Companies Time Status
ZigZag Level Order Traversal BT 350 38:29
Populate Next Right Pointers Tree 900 44:05
Root to leaf
Trie
Problem Score Companies Time Status
Shortest Unique Prefix 350
61:42
Tree search
Problem Score Companies Time Status
Least Common Ancestor 450 52:33
Linkedlist tree
Problem Score Companies Time Status
Flatten Binary Tree to Linked List 500 38:48
Interval tree
Problem Score Companies Time Status
Order of People Heights 700
64:15