Pregunta de entrevista de Voysis

how would you implement stack and queue