Sobes.tech
Middle

Write a function that takes the width and height of a matrix and returns a 2D array filled with numbers in a spiral order (ascending, starting from 1, moving right, then down, left, up).

Write a function that takes the width and height of a… - sobes.tech