Goldman Sachs interview question

What is the difference between a queue and a stack

Interview Answer

Anonymous

11 Jul 2024

Queue First-in first out Stack first in last out