← Adobe questions
CodingReported in a candidate post, Jul 2025

Course Schedule II and BFS versus DFS

Filed under Adobe

Course Schedule II: there are numCourses labelled 0 to n-1 and prerequisite pairs [a, b] meaning you must take b before a. Return a valid order to take all courses, or an empty list if it 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.

Related Adobe questions

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