Frage im Vorstellungsgespräch bei Walmart

What is the difference between stack and Queue data structure?

Antworten zu Vorstellungsgespräch

Anonym

26. Feb. 2021

Queue -> FIFO - First In First Out Stack -> LIFO - Last In First Out

3

Anonym

26. Okt. 2020

Stack is based on First in First Out conceot while Queue is based on Last in Last out concept.

1