Categorise checks for Greedy.
Practice this question from Quiz: Greedy, with options and an explanation.
Question
Categorise checks for Greedy.
Option A
State/invariant
Option B
Complexity
Option C
Only sample case
Explanation
Strong answers explain state, complexity, and more than the sample.