Pergunta de entrevista da empresa Ubisoft

How would you implement a stack?