gumgum's Garden🌼

Index

Tree Data Structure šŸŽ„

Trees


Traversal
Topics Status
Introduction to Trees notešŸ“ƒ
Binary Tree Representation doneāœ…
Preorder Traversal doneāœ…
Postorder Traversal doneāœ…
Inorder Traversal doneāœ…
Level Order Traversal doneāœ…
Postorder Preorder Inorder traversal in one Traversal doneāœ…
Medium Problems
Topics Status
Height and Diameter of a Binary Tree doneāœ…
Maximum Path Sum doneāœ…
Check if two trees are identical doneāœ…
Views of Binary Tree doneāœ…
Symmetric Binary Tree doneāœ…
Hard Problems
Topics Status
Root to Node Path in Binary Tree doneāœ…
LCA in Binary Tree doneāœ…
Maximum Width of a Binary Tree doneāœ…
Check for Children Sum Property doneāœ…
Print all Nodes at a distance of K doneāœ…
Minimum Time Taken to Burn the Binary Tree doneāœ…
Count Total Nodes in a Complete Binary Tree doneāœ…
Construct Binary Tree from traversals doneāœ…
Serialize and Deserialize Binary Tree doneāœ…
Morris Traversal doneāœ…
Flatten Binary Tree to Linked List doneāœ…

Binary Search Trees


Concept
Topic Status
Introduction to Binary Search Trees notešŸ“ƒ
Search in a Binary Search Tree doneāœ…
Find Min and Max in a BST doneāœ…
Problems
Topic Status
Ceil and Floor in a BST doneāœ…
Insertion and Deletion in a BST doneāœ…
Find K smallest and largest element in a BST doneāœ…
Check if a Tree is BST or BT doneāœ…
LCA in a Binary Search Tree doneāœ…
Construct BST from preorder traversal doneāœ…
Inorder Successor and Predecessor in BST doneāœ…
Merge 2 BST doneāœ…
Two Sum in a BST doneāœ…
Recover BST with two nodes swapper doneāœ…
Largest BST in a BT doneāœ