Upstart Interview Question

Print a matrix in spiral order