This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Using a queue to track nodes at each level: enqueue root, dequeue and process, enqueue children, repeat.
You've completed the free preview. Subscribe to unlock every lesson in every course.