Question d’entretien chez Qualcomm

Write a code to inverse an array!