Capgemini Interview Question

Swapping Integers in an array.