Computer Science · Ch 3 — Stack
Operations on Stack
3.3
Operations on Stack
A stack is a structure that implements the LIFO arrangement introduced in the previous section, hence elements are added to and deleted from the stack at one end only. The end from which elements are added or deleted is called the TOP of the stack. The two fundamental operations performed on a stack are PUSH and POP. In this secti …