Vistaar Technologies Interview Question

Applications of stack and queue