Pregunta de entrevista de Verisign

Print out the diagonals in an array.