Intel Corporation interview question

One coding question involved using stacks