Question d’entretien chez Amazon

largest even sum possible with given elements in an array