Goldman Sachs interview question

Knights path, and a data structures question