Pergunta de entrevista da empresa JPMorganChase

Difference of stack and queue