this is my coode
Why is this wrong?
thanks a lot
any specific reason y is it not getting accepted?
make dp[1][1]=1 if it is not blocked. (u have made it 0 )
0 because number of ways from reaching to there itself 0 right?Thats y i put 0
there is one way na.
0 is showing that no ways r there.
if actually there is one way ie stand on the cell
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.