← Questions

Single-threaded scheduler for one-shot, delayed and periodic tasks

0
Applied IntuitionTeslaCodingLast asked Feb 2026

A coding interview question asked in Applied Intuition's AI-assisted build round and at Tesla, last asked Feb 2026. It tests scheduling, heaps and design.

Build a task scheduler that runs everything on one thread. It accepts three kinds of jobs: run once as soon as possible, run once after a delay, and run every interval units of time.

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

  • Applied Intuition · AI-assisted build · Last asked Feb 2026120 min · Build the designed system, or a small web app, in a prepared environment over two to three hours · Claude Code or a provided Claude model expected
  • Tesla · Technical phone screen · Last asked Jan 202645 min · 10 to 20 minutes on your background, then one compact coding, debugging or design task in CoderPad that must run

What it tests

scheduling · heaps · design

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