Pergunta de entrevista da empresa Check Point Software Technologies

Given a stack, use another stack to sort it.