Airbnb logoAirbnb
Coding·45 minMembers

Multi-Stream Round-Robin Iterator

Members only

Implement a merging iterator over multiple input streams that yields elements round-robin — one from each stream in turn, skipping exhausted streams. Supports has_next() and next(). The live trap is c...

SWE
iterator
object-design
medium
Frequency
Single report
Last asked
2026-05-19
Stage
onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...