Which edge case matters for this problem?

Practice this question from Coin Change - Minimum Coins DP Pattern Practice Quiz, with options and an explanation.

Question

Which edge case matters for this problem?

Option A — Correct answer

Impossible targets should return -1.

Option B

Whether the array is rotated

Option C

Whether vowels are uppercase

Option D

Whether graph edges are directed

Explanation

Impossible targets should return -1.

Coin Change - Minimum Coins DP Pattern Practice Quiz

All questions · Previous question

Open on QuizMaker