Microsoft Interview Question

Coding question asked was Spiral Matrix- Leetcode medium