Question d’entretien chez Microsoft

Rearrange odd and even integers in an array.