Pregunta de entrevista de HedgeServ

They asked me to write a Stack