Question d’entretien chez Wipro

Explain how stack and queue works with example