Mental Model
We move around the edges of the matrix in a circle, peeling off one layer at a time until all elements are visited.
Analogy: Imagine peeling an onion layer by layer, starting from the outer skin and moving inward in a spiral path.
1 -> 2 -> 3 -> 4 ā ā 12 5 ā ā 11 10 9 -> 6 ā 7 -> 8
