Pendo Interview Question

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