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.

Course Schedule - Topological Sort Pattern Practice Quiz

All questions · Previous question

Open on QuizMaker