Question d’entretien chez Uber

Explain the difference between a Queue and a Stack?

Réponse à la question d'entretien

Utilisateur anonyme

12 juil. 2018

A queue is a first-in, first-out data structure, whereas a Stack is a last-in, first-out data structure.