Can you please tell me where i m going wrong
Check now ->
why did we do this???
Have to make all index value 0, index value with -1 will always give one digit less then required answer , also have removed this condition
if(i==0||j==0||k==0)
dp[i][j][k] = 0;
Cause we have already made every index 0, so no need of checking it again, rest everything was right.
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.