Continuum Interview Question

Application of stack and queue