Domanda di colloquio di Voysis

how would you implement stack and queue