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 hintsTopics
Also asked at 52 companies
More eBay Questions
Remove One Element to Make the Array Strictly IncreasingEasyPartition Equal Subset SumMediumMinimize Maximum Pair Sum in ArrayMediumTwo SumEasyGroup AnagramsMedium
View all eBay questions