Pergunta de entrevista da empresa Viettel

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