Microsoft Interview Question

Draw a spiral in a 2d array