Pergunta de entrevista da empresa Pendo

Given one empty stack and one full stack and O(1) space, sort the stack.