Back to Dashboard

Pro pattern

Upgrade to Pro to access this pattern and all 22 patterns.

Upgrade
PATTERN

Matrix / 2D Arrays

Navigate and transform 2D grids using structured traversal patterns — row/column iteration, spiral order, layer-by-layer rotation, and in-place modifications.

Learn Matrix / 2D ArraysExplanation, templates & reference

Set Matrix Zeroes

easy

Rotate Image

medium

Spiral Matrix

medium

Valid Sudoku

hard