<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.omnivision.website/index.php?action=history&amp;feed=atom&amp;title=4.1.1.3_Stacks_%28LIFO%29</id>
	<title>4.1.1.3 Stacks (LIFO) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.omnivision.website/index.php?action=history&amp;feed=atom&amp;title=4.1.1.3_Stacks_%28LIFO%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.omnivision.website/index.php?title=4.1.1.3_Stacks_(LIFO)&amp;action=history"/>
	<updated>2026-08-22T05:10:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.omnivision.website/index.php?title=4.1.1.3_Stacks_(LIFO)&amp;diff=205&amp;oldid=prev</id>
		<title>Mr. Goldstein: Created page with &quot;=== 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 &#039;&#039;&#039;stack&#039;&#039;&#039; in computer science works exactly like this!  It follows a rule called &#039;&#039;&#039;LIFO&#039;&#039;&#039;, which stands for &#039;&#039;&#039;Last In, First Out&#039;&#039;&#039;. The last item you put &#039;&#039;in&#039;&#039; the stack is always the first item you can take &#039;&#039;out&#039;&#039;.  * &#039;&#039;&#039;Putting items on a stack is called &quot;pushing.&quot;&#039;&#039;&#039; (L...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.omnivision.website/index.php?title=4.1.1.3_Stacks_(LIFO)&amp;diff=205&amp;oldid=prev"/>
		<updated>2025-07-09T14:30:12Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=== 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 &amp;#039;&amp;#039;&amp;#039;stack&amp;#039;&amp;#039;&amp;#039; in computer science works exactly like this!  It follows a rule called &amp;#039;&amp;#039;&amp;#039;LIFO&amp;#039;&amp;#039;&amp;#039;, which stands for &amp;#039;&amp;#039;&amp;#039;Last In, First Out&amp;#039;&amp;#039;&amp;#039;. The last item you put &amp;#039;&amp;#039;in&amp;#039;&amp;#039; the stack is always the first item you can take &amp;#039;&amp;#039;out&amp;#039;&amp;#039;.  * &amp;#039;&amp;#039;&amp;#039;Putting items on a stack is called &amp;quot;pushing.&amp;quot;&amp;#039;&amp;#039;&amp;#039; (L...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== 4.1.1.3 Stacks: Last In, First Out (LIFO) ===&lt;br /&gt;
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 &amp;#039;&amp;#039;&amp;#039;stack&amp;#039;&amp;#039;&amp;#039; in computer science works exactly like this!&lt;br /&gt;
&lt;br /&gt;
It follows a rule called &amp;#039;&amp;#039;&amp;#039;LIFO&amp;#039;&amp;#039;&amp;#039;, which stands for &amp;#039;&amp;#039;&amp;#039;Last In, First Out&amp;#039;&amp;#039;&amp;#039;. The last item you put &amp;#039;&amp;#039;in&amp;#039;&amp;#039; the stack is always the first item you can take &amp;#039;&amp;#039;out&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Putting items on a stack is called &amp;quot;pushing.&amp;quot;&amp;#039;&amp;#039;&amp;#039; (Like pushing a plate onto the stack)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Taking items off a stack is called &amp;quot;popping.&amp;quot;&amp;#039;&amp;#039;&amp;#039; (Like popping a plate off the top)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Examples of Stacks in real life:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
** The &amp;quot;Undo&amp;quot; button in a program: The last thing you did is the first thing you can undo.&lt;br /&gt;
** The &amp;quot;Back&amp;quot; button in a web browser: The last page you visited is the first one you go back to.&lt;br /&gt;
&lt;br /&gt;
==== Bibliography for Stacks ====&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Kiddle:&amp;#039;&amp;#039;&amp;#039; [https://kids.kiddle.co/Stack_(data_structure) Data structure Facts for Kids (Stack)]&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Shopify Blog:&amp;#039;&amp;#039;&amp;#039; [https://www.shopify.com/blog/what-is-lifo What Is Last In First Out (LIFO)? Definition and Guide]&lt;/div&gt;</summary>
		<author><name>Mr. Goldstein</name></author>
	</entry>
</feed>