Pregunta de entrevista de Infosys

stack operations and asked how would you implement