Available question text
Count the number of operation sequences starting from stair 1 with jump=0 that can reach stair k, where each step is either down by 1 (not allowed from stair 0 or twice consecutively) or up by 2^jump (after which jump increments). This is a counting/DP problem over states (position, jump, last-move) requiring careful handling of growing power-of-two jumps and revisits.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 3154. Find Number of Ways to Reach the K-th Stair
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source