Question d’entretien chez X

Show how to rank items in an array using linear space.

Réponse à la question d'entretien

Utilisateur anonyme

3 août 2017

If the ranks are numbers you can use a min/max heap and then pop them off into an array