Ab Initio interview question

I had a question about stacks