Domanda di colloquio di Viettel

How to remove an odd number in an array without making a new array in O(n).