AlgoMaster Logo

Spiral Matrix II

n=3
0 / 31
algomaster.io
Step:Generate 3×3 spiral matrix by simulating the walk