Pergunta de entrevista da empresa Walt Disney Company

How to reverse an array in place.