Pregunta de entrevista de Capgemini Engineering

Given a program to reverse an array online.