Technovert interview question

Interchanging elements in an array