Stack (abstract data type)

Abstract data type
Abstract

In computer science, a stack is an abstract data type that serves as a collection of elements with two main operations:Push, which adds an element to the collection, and Pop, which removes the most recently added element.

Wikipedia