Product
Pricing
Blog
Forum
NEW
Referral
Description
Solution
Discussion
Submissions
Ask AI
AI Insights
Quick Summary
Manage multiple data streams in the exact order they were added.
Support dynamic addition and removal of streams during runtime.
Read up to N characters sequentially across active streams, skipping exhausted ones.
What This Tests
Object-oriented design and encapsulation
State tracking and cursor management
Handling edge cases and early termination conditions
Iterative control flow with mutable collections
Common Patterns
Design
State Tracking
Iterator Pattern
Collapse
Hint 1
Hint 2
What Interviewers May Ask Next
Report
Report seen similar question in interview
Ask AI Assistant
Ask AI Assistant
Ask me anything about this coding question!
python
Auto
Debug
Run
Submit
Stdout
-