I searched and so far did not find an answer to this coding interview question:
given an input matrix (an array of arrays) representing a board of size n x n where ea