Domanda di colloquio di PTC

How to reverse an array! Another problem statement to design application.