Which edge case matters for this problem?

Practice this question from House Robber - Pick or Skip DP Pattern Practice Quiz, with options and an explanation.

Question

Which edge case matters for this problem?

Option A — Correct answer

Empty input should return 0.

Option B

Whether the array is rotated

Option C

Whether vowels are uppercase

Option D

Whether graph edges are directed

Explanation

Empty input should return 0.

House Robber - Pick or Skip DP Pattern Practice Quiz

All questions · Previous question

Open on QuizMaker