Whatfix interview question

identify odd and even numbers in an Array.