← Questions

Chained reader that streams characters across a list of sound tracks

0
AirbnbCodingLast asked Oct 2026

A coding interview question asked in Airbnb's technical phone screen, last asked Oct 2026. It tests iterator, streams and class design.

Several sound track classes already exist. They all extend a base class Sound whose method read(x, s) copies up to x characters of the track's data into the buffer s and moves the track's position forward, so the next call picks up where…

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

What it tests

iterator · streams · class design

Your code and the AI tutor open when you unlock this question.