Pergunta de entrevista da empresa Capgemini Engineering

Q: How to sort numbers stored in a stack while maintaining the original stack?