Question d’entretien chez Cognizant

Find the minimum and maximum no in a array list