Question d’entretien chez EPAM Systems

Find min and max in an integer array using single for loop.