Pergunta de entrevista da empresa Yudiz Solutions

How to seperate odd even number from an array