Stack

From Handwiki


A programming concept much needed in nested or recursive operations. A stack can be defined as a list of items such that manipulations are done only at the beginning of the list (LIFO = last-in-first-out).

Example: In following a generalized tree structure of data, operations at a given level are suspended when a new, lower level is encountered. The parameters describing the current level are then stacked for later continuation (after lower level operations have been terminated).

The operations of entering/removing items to/from a stack are commonly called pushing and popping. also Maurer77.  also FIFO.




Retrieved from "http://192.227.78.150/wiki/index.php?title=Stack&oldid=1997"

Categories: [W.Krisher and R.Bock] [Data analysis] [Statistics]


Download as ZWI file | Last modified: 11/06/2025 01:09:38 | 100 views
☰ Source: https://handwiki.org/wiki/Stack | License: CC BY-SA 3.0

ZWI is not signed. [what is this?]