Question d’entretien chez McLeod Software

What is the difference between a stack and a queue?

Réponse à la question d'entretien

Utilisateur anonyme

1 déc. 2021

A stack is a LIFO (last in first out) data structure with data being inserted from bottom up. A queue is a FIFO (first in first out) data structure with data bring inserted from the rear but only accessible from the front.

1