Domanda di colloquio di Accenture

how to reverse an array? what does your parent do?