Fade to Solo
Math & Geometry

Spiral Matrix

10 MINMleetcode ↗

Problem

Given an m×n matrix, return all of its elements in spiral order — clockwise, starting from the top-left and winding inward.

10 MIN00:00unlocks in 10:00
locked10:00 left