Binary Search Tree Iterator — Advanced Trees

Build a cursor over stored entries that hands them back smallest first, one per call, and says whether any remain.

Advanced Trees · Medium

More in Advanced Trees

All algorithm problems