Pergunta de entrevista da empresa Voysis

how would you implement stack and queue