Question d’entretien chez Infosys

Explain the difference between a stack and a queue. Provide an example use case for each.