I have seen the following used in Backtracking algorithms for mn matrix.
int[] rowOffsets = {0, 1, 0, -1}; int[] colOffsets = {1, 0, -1, 0}
Can someone help ex