Question d’entretien chez LTIMindtree

write a code to find the largest element in array?