← Questions

Video playback loop at 25 frames per second

0
NuroCodingLast asked Aug 2026

A coding interview question asked in Nuro's technical phone screen, last asked Aug 2026. It tests concurrency, threads and producer consumer.

You are given a VideoPlayer whose read() returns the next frame (taking a variable amount of time) and a render(frame) call that shows a frame. Write the playback loop so frames are shown at a steady 25 frames per second, one every 40 ms…

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

  • Nuro · Technical phone screen · Last asked Aug 2026

What it tests

concurrency · threads · producer consumer

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