Question d’entretien chez Lockheed Martin

What's the difference between a stack and a queue?

Réponse à la question d'entretien

Utilisateur anonyme

18 avr. 2015

Stack is a LIFO (last in first out) data structure. The associated link to wikipedia contains detailed description and examples. Queue is a FIFO (first in first out) data structure. The associated link to wikipedia contains detailed description and examples.