FactSet Interview Question

Print the matrix in reverse spiral order