leetcode icon indicating copy to clipboard operation
leetcode copied to clipboard

Bug Report for climbing-stairs

Open Nacho2027 opened this issue 11 months ago • 0 comments

Bug Report for https://neetcode.io/problems/climbing-stairs

Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.

I find it incredibly frustrating that this lesson comes right after the “recursion” section in the DS&A course. Naturally, I (as a naive little lamb) tried to solve it using recursion. I understand that the straightforward recursive solution is inefficient, with time complexity O(2^n), but it’s still frustrating for the solution to fail due to a time limit—even when pasting the course’s own recursive approach.

If recursion isn’t an acceptable solution here, then this problem shouldn’t be placed immediately after the recursion section.

@neetcode-gh

Nacho2027 avatar Jan 03 '26 04:01 Nacho2027