Angi interview question

Solve Langton’s Ant problem using 2D array.