Track Elixir
Elixir track

Spiral Matrix

An exercise from the Elixir track
medium

About this exercise

Given the size, return a square matrix of numbers in spiral order.

lists
transforming
View all solutions