Fade to Solo
Graphs (BFS/DFS)

Course Schedule

30 MINMleetcode ↗

Problem

You have n courses and a list of prerequisite pairs [a, b] meaning you must take b before a. Return whether it's possible to finish all courses given these prerequisites.

30 MIN00:00unlocks in 30:00
locked30:00 left