approach of the question and the logic
Approach of the question and the logic
u have to reach the end and can go right or down
now first check wheather right is a valid position or nor if valid then go right and make a recursive call
now check wheather down is a valid position or not if valid then go and make a recursive call
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.