Amazon Interview Question

Spiral print a 2D array