Mental Model
We walk around the edges of the matrix in a circle, then move inward layer by layer until all elements are visited.
Analogy: Imagine peeling an onion layer by layer, starting from the outer skin and moving inward, collecting all parts as you go.
1 2 3 4 12 13 14 5 11 16 15 6 10 9 8 7 βstart at top-left corner, move right ->
