Microsoft interview question

Coding question asked was Spiral Matrix- Leetcode medium