Suppose I have a M*N array which I have to traverse.There are M*N cells(starting from 1 to M*N). There will be an input n and according to that I will have to move to a next possible cell. Suppose I have a M*N array which I have to trav
Suppose I have a M*N array which I have to traverse.There are M*N cells(starting from 1 to M*N). There will be an input n and according to that I will have to move to a next possible cell. Suppose I have a M*N array which I have to trav