← Amazon questions

Task scheduling ordering with dependencies

Filed under Amazon

There are a total of numTasks tasks you have to schedule, labeled from 0 to numTasks - 1. Some tasks may have prerequisites, for example to do task 0 you have to first do task 1, which is expressed as…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.