What is the goal of Climbing Stairs?
Practice this question from Climbing Stairs - Fibonacci DP Pattern Practice Quiz, with options and an explanation.
Question
What is the goal of Climbing Stairs?
Option A — Correct answer
Count ways to climb n stairs using 1-step or 2-step moves.
Option B
Reverse a linked list only
Option C
Count graph components only
Option D
Sort strings alphabetically
Explanation
Count ways to climb n stairs using 1-step or 2-step moves.