<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by P.Rishikanth reddy on Medium]]></title>
        <description><![CDATA[Stories by P.Rishikanth reddy on Medium]]></description>
        <link>https://medium.com/@rishikanthreddy12509?source=rss-00a27687faf4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*k4FX35hV1sM4nDJF</url>
            <title>Stories by P.Rishikanth reddy on Medium</title>
            <link>https://medium.com/@rishikanthreddy12509?source=rss-00a27687faf4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 21:14:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@rishikanthreddy12509/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Stacks And Queues]]></title>
            <link>https://medium.com/@rishikanthreddy12509/stacks-and-queues-97db26f534b3?source=rss-00a27687faf4------2</link>
            <guid isPermaLink="false">https://medium.com/p/97db26f534b3</guid>
            <category><![CDATA[stacks-queues]]></category>
            <category><![CDATA[dsa-courses]]></category>
            <dc:creator><![CDATA[P.Rishikanth reddy]]></dc:creator>
            <pubDate>Wed, 04 Feb 2026 15:45:09 GMT</pubDate>
            <atom:updated>2026-02-04T15:45:09.907Z</atom:updated>
            <content:encoded><![CDATA[<p>Data structures are an important topic in computer science and can help you earn a high package. DSA is not just an easy subject to get a grip on. To learn DSA, first we need to learn C programming and develop good problem-solving skills. Stacks and queues are part of linear data structures.</p><p>A stack is a linear data structure. In a stack, the last inserted element is the first one to be deleted, which follows the <strong>LIFO (Last In, First Out)</strong> principle. A real-life example of a stack is plates stacked on each other, like idly plates. The operations used in a stack are push() to insert an element, pop() to delete an element, and peep() or peek() to view the top element. Applications of stacks include undo and redo operations in text editor applications.</p><p>A queue is also a linear data structure. In a queue, the first inserted element is the first one to be deleted, which follows the <strong>FIFO (First In, First Out)</strong> principle. A real-life example of a queue is people standing in a line. The basic operations used in a queue are enqueue() to insert an element, dequeue() to remove an element, and front() to view the first element. Applications of queues include CPU scheduling.</p><p>A circular queue is a type of queue where the last position is connected to the first position, forming a circle. In a circular queue, no memory is wasted. The <strong>modulus (%) operator</strong> is used to move the queue in a circular order.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97db26f534b3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>