Can You Finish the Courses?

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

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.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →