Frage im Vorstellungsgespräch bei Uber

Explain the difference between a Queue and a Stack?

Antwort im Vorstellungsgespräch

Anonym

12. Juli 2018

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