Does this mean M rows by N columns? Thus in Java the knight starts at [M-1] ??
...and the princess is at [N-1] ?
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.