Binary Tree Iterator
This problem teaches lazy evaluation and controlled traversal — core concepts in Swift's Sequence protocol, Core Data fetch iterators, and any system that must process large datasets without loading everything into memory.
Enable JavaScript for the full StreamPrep guide.