InterviewLegend

Task Schedulers

Alex Chen40 min readUpdated 22 real interview reports

The scheduler question has shown up at Scale AI both as an online assessment and as a phone screen. It starts small. You write a service that returns the next task to work on. Then the spec grows. A task can wait on other tasks, and each new part builds on the class you already wrote.

Because the parts stack, your choice in part one shapes the rest. Pick the data structure with the later rules in mind, then write the smallest class that passes and move on. If you have to rebuild the class for part two, you lose time you'll want for the dependency rules.

There's also an older, simpler version. Its loop is short, but the printed log has to match to the character, so check the exact output format before you write the loop.

Scale AIPremium lesson · Coding round

The 3 Scale AI problems are below.

  1. A Premium questionCoding · Medium · Signature problem
  2. A Premium questionCoding · Medium
  3. A Premium questionCoding · Medium

Each with hints, the follow-up and a tested solution.

Get the Scale AI questions

$49 a year · all 100 companies · cancel anytime

From 20,000+ candidate reports, forum threads behind logins and write-ups in Chinese.

Had your Scale AI interview?Tell us what they asked. Reviewed before it goes in, never with your name.
Scale AI interview guide

Know what Scale AI asks before you walk in.

22 coding · 3 system design · 18 behavioral questions

Get Premium$49 a year · Cancel anytime
Or start freeNo card.

Get their questions first.

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.