Pattern 12: Tree BFS
Comes up in: DSA
This concept is being written. It gets the full five steps — explanation, predict, interview angle, practice with tests, and review cards. Here is exactly what it will cover, so you can study it elsewhere in the meantime.
What it covers
- queue-based level order
- processing level by level (size snapshot)
- right side view
- zigzag
Words you will know
What you will practise
- level-order (M)
- right-side-view (M)
- zigzag-level-order (M)
- min-depth (E)