Intel Corporation Interview Question

One coding question involved using stacks