LC 48
Rotate Image
Medium · LC 1–100 + first-family candidate
Candidate solution routes
Primary
FreeGrid Flood Fill
Invariant: Every cell in the frontier has passed bounds and predicate checks and is already marked; expansion only considers its eligible neighbors.
candidate confidence: 0.270 · metadata_only
How to use this page
Read the statement and constraints first, then validate recognition signals, invariant, and complexity. Candidate score is not correctness evidence.