Tree Modification
DFS First
Mirror Tree
Exchange the Leaf Nodes
Easy2 solutionsexplanationanalysis1 playground
Solutions:
Interactive Visualization
BFS First
116. Populating Next Right Pointers in Each Node
Medium4 solutionsexplanationanalysis1 playground
Solutions:
117. Populating Next Right Pointers in Each Node II
Medium1 solutionexplanationanalysis1 playground
TODO: Undertsnad the optimal approach with constact auxillary space
Solutions: