TOPICS
Search

Pop


In computer science, a pop is an action which removes the initial element from the top of a queue or stack, turning the list (a_1, a_2, ..., a_n) into (a_2, ..., a_n) and returns the removed element a_1.


See also

Push, Stack

Explore with Wolfram|Alpha

Cite this as:

Weisstein, Eric W. "Pop." From MathWorld--A Wolfram Web Resource. https://mathworld.wolfram.com/Pop.html

Subject classifications