Pregunta de entrevista de Viettel

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