Visa Inc. Interview Question

Traverse 2d array in spiral fashion.