Revature Interview Question

Explain the difference between a stack and a queue

Interview Answer

Anonymous

Nov 16, 2019

Stack: insert object and take it out from the front Queue: insert object and take it out from the back