Course Schedule at TikTok
Medium50.8% 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 41 companies
More TikTok Questions
Number of IslandsMediumCourse Schedule IIMediumWord SearchMediumCoin ChangeMediumMaking A Large IslandHard
View all TikTok questions