Revature interview question

What is the difference between a stack and a queue?

Interview Answer

Anonymous

29 Sept 2018

In a stack, values are used based on Last in, first out basis. Queue, values are used based on first in, first out basis.