Pergunta de entrevista da empresa Mindera

How would you implement a method to sum all odd numbers in an array?