exchangeEvenOddNum

in an array with space o(1)