Redfin Interview Question

Spiral Matrix