Question d’entretien chez Infosys

Find largest element in an array.