Overview
Syllabus
Introduction
Breadth First Search BFS
Q1 : Binary Tree Level Order Traversal
Q2 : Average of Levels in Binary Tree
Q3 : Level Order Successor of a node
Q4 : Binary Tree Zigzag Level Order Traversal
Q5 : Binary Tree Level Order Traversal II
Q6 : Populating Next Right Pointers in Each Node
Q7 : Binary Tree Right Side View
Q8 : Cousins in Binary Tree
Q9 : Symmetric Tree
Depth First Search DFS
Q10 : Diameter of Binary Tree
Q11 : Invert Binary Tree
Q12 : Maximum Depth of Binary Tree
Q13 : Convert Sorted Array to Binary Search Tree
Q14 : Flatten Binary Tree to Linked List
Q15 : Validate Binary Search Tree
Q16 : Lowest Commom Ancestor of a Binary Tree
Q17 : Kth Smallest Element in a BST
Q18 : Construct Binary Tree from Preorder and Inorder Traversal
Q19 : Serialize and Deserialize Binary Tree
Q20 : Path Sum
Q21 : Sum Root to Leaf Numbers
Q22 : Binary Tree Maximum Path Sum
Q23 : Path Exists in Binary Tree from Root to Leaf
Q24 : Path Exists in Binary Tree at Any Nodes
Top 50 Tree Coding Problems on GeeksForGeeks
Depth First Search DFS using Stack
Resources
Taught by
Kunal Kushwaha