Which edge case matters for this problem?

Practice this question from 0/1 Knapsack - Capacity DP Pattern Practice Quiz, with options and an explanation.

Question

Which edge case matters for this problem?

Option A — Correct answer

Capacity 0 should return 0.

Option B

Whether the array is rotated

Option C

Whether vowels are uppercase

Option D

Whether graph edges are directed

Explanation

Capacity 0 should return 0.

0/1 Knapsack - Capacity DP Pattern Practice Quiz

All questions · Previous question

Open on QuizMaker