<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>stack | SOHEL KHAN</title><link>https://sohel-khan.netlify.app/tag/stack/</link><atom:link href="https://sohel-khan.netlify.app/tag/stack/index.xml" rel="self" type="application/rss+xml"/><description>stack</description><generator>Wowchemy (https://wowchemy.com)</generator><language>en-us</language><image><url>https://sohel-khan.netlify.app/media/icon_hu0bd4c7ae0cff8c19f1aa2afc18bab549_2615_512x512_fill_lanczos_center_3.png</url><title>stack</title><link>https://sohel-khan.netlify.app/tag/stack/</link></image><item><title>Stack</title><link>https://sohel-khan.netlify.app/post/stack/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://sohel-khan.netlify.app/post/stack/</guid><description>&lt;h1 id="what-is-stack">What is Stack?&lt;/h1>
&lt;p>&lt;strong>Stack&lt;/strong> is a linear data Structure which followa a particular order in which the operations are performed.
Insertion of element into stack is called &lt;strong>PUSH&lt;/strong> and deletion of element from stack is called &lt;strong>POP&lt;/strong>.
The order may be &lt;strong>FILO&lt;/strong> ( first in last out).&lt;/p>
&lt;h1 id="applications--of-stacks">Applications of Stacks&lt;/h1>
&lt;ul>
&lt;li>It is used to reverse a word.&lt;/li>
&lt;li>&lt;strong>Undo&lt;/strong> mechanism in text editor.&lt;/li>
&lt;li>Backtracking&lt;/li>
&lt;li>Language processing&lt;/li>
&lt;li>Conversion decimals to binary&lt;/li>
&lt;li>To solve tower of Hanoi.&lt;/li>
&lt;li>Conversion of infix to prefix or postfix vice-versa.&lt;/li>
&lt;li>Quick sort&lt;/li>
&lt;li>Runtime memory management&lt;/li>
&lt;/ul></description></item></channel></rss>