Continuum interview question

Application of stack and queue