# Problem Definition

## Description

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

**Example:**

Given the following matrix:

```plaintext
[
    [ 1, 2, 3 ],
    [ 4, 5, 6 ],
    [ 7, 8, 9 ]
]
```

You should return

```plaintext
[1, 2, 3, 6, 9, 8, 7, 4, 5]
```

## Notes

1. [YT Video - MyCodeSchool - Print 2-D array in spiral order](https://www.youtube.com/watch?v=siKFOI8PNKM)