eBay Interview Question

Navigate through a 2D array in a spiral or something like that.