Spiral Matrix Flashcards

1
Q

Spiral Matrix

Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly