Given course prerequisites as directed edges, return true if you can finish all courses (the graph has no cycle).
Practise this challenge
All coding challenges