🎉 Exercism Research is now launched. Help Exercism, help science and have some fun at research.exercism.io 🎉
Track Tcl
Tcl track

Spiral Matrix

An exercise from the Tcl track
easy

About this exercise

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

algorithms
loops
lists
View all solutions