Domanda di colloquio di Wipro

What is the difference between a stack and a queue? Can you give an example where each would be used?