sir/mam, I have doubt in the loop.
The logics have A[i-1][j] n all… But when 0 is equal to 1, the index will turn negative. The same is the case for j-1. So the logic doesn’t seem to be complete
Doubt in the loops
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.