17.02 · Problem
Spiral Matrix
This problem is part of solulu Pro
Return all elements of an m × n matrix in spiral order: along the top row, down the right column, back along the bottom row, up the left column, then inwards.
Lifetime ₹1,999 ₹999 · Launch offer
Item 137 of 150 · updated 2026-10-13