There is not preferred direction specified. How can a unique path exist then. Please clarify.
Question Not Clear
Hey,the input is such that there is only 1 path in the given matrix and you have to find that.
From every point you can try all 4 direction at most 1 will lead to the destional 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.