PwC Interview Question

stack and queue tell the differences