Which edge case matters for this problem?
Practice this question from Course Schedule - Topological Sort Pattern Practice Quiz, with options and an explanation.
Question
Which edge case matters for this problem?
Option A — Correct answer
Cycles prevent all courses from being taken.
Option B
Negative stock prices
Option C
Uppercase vowels only
Option D
A rotated sorted array
Explanation
Cycles prevent all courses from being taken.