Company question banks are included with the Insider plan.
In an n-row, m-column empty matrix, start at (n-1, 0) and end at (n-1, m-1). A move advances one column and changes the row by -1, 0, or +1, without leaving the matrix. Implement...
(n-1, 0)
(n-1, m-1)