Pergunta de entrevista da empresa Infosys

Looping through an array to find some kind of value (I forget).