← Questions

Thread-safe scheduler for periodic jobs

0
NuroCodingLast asked May 2026

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

Write a scheduler that runs functions periodically, for example a job at 50 Hz (every 20 ms) and another at 1 Hz. One worker thread runs the jobs, while other threads may schedule and cancel jobs at any moment.

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 May 2026

What it tests

concurrency · threads · scheduling

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