Global Infotech interview question

Delete elements from an array. Reverse an array.