Course Schedule II at TikTok
Medium55.0% acceptance
This problem has 87.5% frequency at TikTok.
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 32 companies
More TikTok Questions
Number of IslandsMediumCourse ScheduleMediumWord SearchMediumCoin ChangeMediumMaking A Large IslandHard
View all TikTok questions