Pendo interview question

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