Question d’entretien chez Microsoft

give an array of integer, find the medium number without sorting the array