AlgoMaster Logo

Spiral Matrix

matrix=[[1,2,3],[4,5,6],[7,8,9]]
0 / 19
123456789
algomaster.io
Step:Start: Traverse matrix in spiral order