Pregunta de entrevista de Microsoft

Coding question asked was Spiral Matrix- Leetcode medium