Back to Question
Spiral Matrix
Question Explain
Given an $m \times n$ matrix, return all elements of the matrix in spiral order.
Start Trying This Question Simulation
Click "Start Speaking" and answer the question naturally.
Given an $m \times n$ matrix, return all elements of the matrix in spiral order.
Click "Start Speaking" and answer the question naturally.