Populating Next Right Pointers in Each Node
This video teaches how to link all nodes in the same level using a next pointer, typically solved using BFS or constant space recursive traversal.
This video teaches how to link all nodes in the same level using a next pointer, typically solved using BFS or constant space recursive traversal.