Veeva Systems Interview Question

Given a 2D array, print it in spiral order