Spiral Matrix at eBay

Medium56.1% acceptance

This problem has 87.5% frequency at eBay.

Problem Description

Given an `m x n` `matrix`, return _all elements of the_ `matrix` _in spiral order_.

Read full problem and hints

Topics

Also asked at 52 companies


More eBay Questions

View all eBay questions