Microsoft Interview Question

Spiral matrix classic leetcode question