Pregunta de entrevista de Quad

Write code to reverse the order of an array.