Pregunta de entrevista de SimCentric Technologies

Write an algorithm to reverse an array without using another array(They wanted an optimal solution)