Infor Interview Question

- Reverse an array - Duplicate element in array