Pregunta de entrevista de Information Management Services

What is a stack? How is it different from a queue?

Respuesta de la entrevista

Anónimo

22 de jul de 2016

Stack is a abstract data type that works with collections. Kind of like with arrays. It uses the LIFO (last in first out) method for its contained objects as opposed to the FIFO (first in first out) method as with the queue.