employer cover photo
employer logo
employer logo

Information Management Services

Is this your company?

Information Management Services Interview Question

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

Interview Answer

Anonymous

Jul 22, 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.