Back to QuestionsPractice with This Question
Spiral Matrix
75.3K views•Asked at Uber•
Medium
Question Explain
Given an $m \times n$ matrix, return all elements of the matrix in spiral order.
Start Trying This Question Simulation
Practice answering orally or with text to get instant AI feedback.