Question d’entretien chez Infosys

stack operations and asked how would you implement