Cisco interview question

Spiral search in 2 d array