Question d’entretien chez Infosys

find the largest number in an array without using sort function?