There are a total of numTasks courses or tasks you have to take, labeled from 0 to numTasks - 1. Some tasks may have prerequisites, for example to take task 0 you have to first take task 1, which is…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.