Spiral Matrix — JavaScript medium interview problem
Given an `m x n` matrix, return all elements in spiral order (clockwise from top-left).
Tags: matrix
Practice this Arrays problem free in the JS Interview Playground with automated tests and unlockable solutions.