← Questions

Delayed job scheduler

0
AmazonOO designLast asked Aug 2025

Design and code a scheduler that accepts a job and a delay and runs the job after that many seconds. Cover the data structure that finds the next due job, the worker thread or threads, cancelling a job, and thread safety.

Your canvas
Draw your answer hereBoxes, arrows and notes, saved for you to come back to.Sign in to start drawing