Question d’entretien chez J.P. Morgan

freq sorting a given data set and discussion on optimal method and time complexities