Capgemini interview question

Swapping Integers in an array.