Stack
A stack is an Abstract Data Type used as a collection of elements, supporting the following two major operations:
push()
: Adds an element to the collection.pop()
: Removes the most recently inserted element that has not been removed yet.
Last updated