question link=https://leetcode.com/problems/climbing-stairs/
WhyI am getting an error.Please correct it.
Prblem solving on leetcode
- if n == 1 then you cant have acess to dp[1]
- you cannot access dp[n] when dp is of size n, the index will be from 0 to n-1
ok understood .thank u
please mark your doubt as resolved
Mam,
I have asked other doubts some 4 to 5 days ago which hav enotbeen responded yet.Please can you reply to those also
I dont see any pending doubts in your name, you can re-open those doubts if you are not getting a response or post again