Can You Finish the Courses?
Talk it through out loud with your AI coach.
The problem
- medium
- Pro
There are a number of courses, and some must be taken before others: for example, Algebra before Calculus. Given the list of these prerequisite pairs, decide whether it's possible to take every course, and if so, give a valid order. Explain your approach.