Which edge case matters for this problem?

Practice this question from Climbing Stairs - Fibonacci DP Pattern Practice Quiz, with options and an explanation.

Question

Which edge case matters for this problem?

Option A — Correct answer

n = 1 and n = 2 must return directly.

Option B

Whether the array is rotated

Option C

Whether vowels are uppercase

Option D

Whether graph edges are directed

Explanation

n = 1 and n = 2 must return directly.

Climbing Stairs - Fibonacci DP Pattern Practice Quiz

All questions · Previous question

Open on QuizMaker