Question d’entretien chez Cognizant

Algorithm to find out the largest number in an array