Question d’entretien chez Comviva

sort integer array based on frequency