Pregunta de entrevista de Texas Instruments

Implement push and pop operations on a stack.