Course Schedule at Amazon
Medium50.8% acceptance
This problem has 75.0% frequency at Amazon.
Problem Description
There are a total of `numCourses` courses you have to take, labeled from `0` to `numCourses - 1`. You are given an array `prerequisites` where `prerequisites[i] = [ai, bi]` indicates that you **must** take course `bi` first if you want to take course `ai`. * For example, the pair `[0, 1]`, indica...
Read full problem and hintsTopics
Also asked at 41 companies
More Amazon Questions
Number of IslandsMediumWord LadderHardLowest Common Ancestor of a Binary TreeMediumRotting OrangesMediumWord SearchMedium
View all Amazon questions