Question d’entretien chez Capgemini

Write the push and pop methods without using stack.