Question d’entretien chez IBM

Coding Question: Figuring out a condition for elements in an array