Question d’entretien chez Oracle

Define a function to sort an unordered stack

Réponse à la question d'entretien

Utilisateur anonyme

10 mars 2016

The answer is easy, you are allowed to use a second stack and a temp variable, so it is just a matter of popping, storing and comparing before pushing into the second