Anonymous interview question

Data structure and algorithms (stacks)