Pergunta de entrevista da empresa Amazon

largest even sum possible with given elements in an array