Pergunta de entrevista da empresa Capgemini

Next question also a code about find the largest element in the array?