<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Urja Srivastava</title>
    <description>The latest articles on DEV Community by Urja Srivastava (@urjacodes).</description>
    <link>https://dev.to/urjacodes</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1638702%2F2d6d8820-d4f9-4dc1-8a70-6caf34721643.png</url>
      <title>DEV Community: Urja Srivastava</title>
      <link>https://dev.to/urjacodes</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/urjacodes"/>
    <language>en</language>
    <item>
      <title>onions and recursion</title>
      <dc:creator>Urja Srivastava</dc:creator>
      <pubDate>Sun, 23 Jun 2024 14:47:23 +0000</pubDate>
      <link>https://dev.to/urjacodes/onions-and-recursion-5hac</link>
      <guid>https://dev.to/urjacodes/onions-and-recursion-5hac</guid>
      <description>&lt;p&gt;&lt;strong&gt;This is a submission for &lt;a href="https://dev.to/challenges/cs"&gt;DEV Computer Science Challenge v24.06.12: One Byte Explainer&lt;/a&gt;.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Explainer&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Recursion is a method where a function calls itself until it satisfies a base case. It simplifies complex problems. It is like peeling an onion's layers until you reach its core- the layers are the function called repeatedly and the core is the base case.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Additional Context&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Recursion is something I struggled to understand properly when I first learnt it as I could not understand why it was being done or why it could be of any use when for loops occur but I learnt more with experience. Written above in 256 characters, is how I would introduce my younger self to the concept of recursion so I would get a good handle of the topic right from the start.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>cschallenge</category>
      <category>computerscience</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
