leetcode
leetcode copied to clipboard
Bug Report for climbing-stairs
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