FactSet interview question

matrix in spiral order