← PATTERN ATLAS
PATTERN 15 · 3 PROBLEMS

Matrix traversal & transforms

Treat coordinates and boundaries as state; mark or rotate without losing original information.

Start the first lesson ↗
MASTER KEYWrite the coordinate mapping before the loops.
0OF 3
RECALLED
RECOGNITION SIGNAL

Clockwise rotation equals transpose followed by reversing each row.

01
Not started

Rotate Image

Clockwise rotation equals transpose followed by reversing each row.

↗
02
Not started

Spiral Matrix

Four boundaries shrink after their corresponding edge is consumed.

↗
03
Not started

Set Matrix Zeroes

The first row and column can store markers, with separate flags for their original state.

↗