Jump to content

4.1.1.3 Stacks (LIFO): Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

9 July 2025

  • curprev 14:3014:30, 9 July 2025 Mr. Goldstein talk contribs 1,088 bytes +1,088 Created page with "=== 4.1.1.3 Stacks: Last In, First Out (LIFO) === Imagine a stack of plates. When you put a new plate on, it goes on top. When you take a plate off, you always take the one from the very top. A '''stack''' in computer science works exactly like this! It follows a rule called '''LIFO''', which stands for '''Last In, First Out'''. The last item you put ''in'' the stack is always the first item you can take ''out''. * '''Putting items on a stack is called "pushing."''' (L..." Tag: Visual edit