Programmingintermediate1 min read

Stack

N/A

栈

Stack · N/A · 栈 · stak · call stack · LIFO · Programming · data-structure · memory · algorithmsProgrammingcall stack LIFO

/stak/

Also known as: call stack, LIFO

Last updated August 8, 2026

Definition

A stack is a last-in, first-out (LIFO) structure: the last item pushed is the first popped — used in algorithms and for tracking function calls.

Real-World Example

When functions call each other, the runtime stack remembers where to return after each function finishes.

References

discuss://translation · public

Translation discussion

Anyone can read and write here. Pick a display name — no email or account. Please keep the thread constructive. Thumb up a rendering you agree with — that helps the editor see consensus; it does not publish the term by itself. You can edit or delete your own comments from this browser; another device or cleared site data cannot.

Community lists who wrote, on which term, and when.

Loading discussion…