What is a stack? How is it different from a queue?
Utilisateur anonyme
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.