Accenture Interview Question

Reverse an array