<?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 Cibiyanna P on Medium]]></title>
        <description><![CDATA[Stories by Cibiyanna P on Medium]]></description>
        <link>https://medium.com/@pkcibiyanna?source=rss-898ae59ac45b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dJAUqEj1RscJZLZoumn9tA.jpeg</url>
            <title>Stories by Cibiyanna P on Medium</title>
            <link>https://medium.com/@pkcibiyanna?source=rss-898ae59ac45b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 09:10:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pkcibiyanna/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[It’s 2025 — Do We Still Need DSA?]]></title>
            <link>https://medium.com/@pkcibiyanna/its-2025-do-we-still-need-dsa-35133a1a9b31?source=rss-898ae59ac45b------2</link>
            <guid isPermaLink="false">https://medium.com/p/35133a1a9b31</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[interview-preparation]]></category>
            <category><![CDATA[data-structures]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Cibiyanna P]]></dc:creator>
            <pubDate>Thu, 06 Mar 2025 17:40:36 GMT</pubDate>
            <atom:updated>2025-03-06T17:40:36.681Z</atom:updated>
            <content:encoded><![CDATA[<h3>It’s 2025 — Do We Still Need DSA?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*1vdHGOT4UJnmxzjDZp_wHw.png" /></figure><h3>Introduction</h3><p>Hey everyone, it’s <strong>Cibiyanna</strong> here. If you’re reading this blog, it means you’re currently confused about whether you need to learn DSA or not to land a software developer role.</p><p>I was in the same boat for about a year and a half, and it took me a long time to get clarity on this topic. So, I’ll share my view on where and why we need LeetCode and where we don’t.</p><p><strong>Let’s begin…</strong></p><p>The things I’m going to talk about are solely based on my experience. It may differ from person to person.</p><h3>Why Do Companies Ask DSA-Based Questions in Interviews?</h3><p>Because asking DSA-based questions makes the interview process easier.</p><p>How does it make it easier?</p><p>Let’s say the average time allocated for a candidate and an interviewer in a particular round is approximately 30–45 minutes, and most interviews are conducted online these days.</p><p>Now, imagine the candidate is a full-stack developer who has done a lot of projects and open-source contributions — at least, that’s what they claim in the interview.</p><p>How can an interviewer validate the candidate based on just words like, <em>“I did this, I contributed to that open source”</em>? How does the interviewer know if the code written in the project is actually theirs or just copy-pasted from somewhere?</p><h3>But That’s Not All…</h3><p>Big MNCs work on different products and different tech stacks.</p><p>Think of it this way: the company is using one tech stack, and the candidate is working on another, which doesn’t align with the company’s requirements. So, how would a recruiter validate them? Does validating them based on their tech stack even make sense?</p><h3>What Does an Interviewer Actually Look for in You?</h3><p>We all know that learning DSA is one of the toughest things in our lives. It pushes you to put in your full effort — if not, you won’t get much out of it.</p><p>When you learn DSA, you place yourself in a tough zone, learn to adapt to new concepts, and apply them to different problems.</p><p>Mastering DSA proves that you have the ability to tackle tough problems and adapt quickly.</p><p>And that’s exactly what interviewers look for. Because when you enter a company, you’ll have to learn a new tech stack fast, and they need people who can do that efficiently.</p><p>That’s why DSA still holds a significant place in interviews.</p><h3>Is There a Way to Avoid DSA?</h3><p>Yep, there is always a way.</p><p>If you’re someone who loves working on a specific tech stack — whether it’s development, DevOps, ML, or anything else — you can reach out to startups or companies that work with that tech stack and apply to them.</p><h3>Will It Work?</h3><p>Yeah, it will.</p><p>Startups don’t care much about DSA. They need skilled people who can build and ship products fast. If you’re really good at that, they will hire you.</p><h3>Another Way…</h3><p>You can build your personal brand by showcasing your work on social media platforms like LinkedIn and Twitter/X. This will attract recruiters and put you on their radar.</p><h3>Why?</h3><p>Because you’re building in public.</p><p>Building in public helps you connect with like-minded people and expand your network. If you consistently share your work on platforms like LinkedIn, sooner or later, you’ll have thousands of people following you.</p><p>Who knows? You might even become a well-known figure and completely forget that you were ever searching for a job!</p><h3>Wrapping Up…</h3><p>This blog is entirely my perspective. If you feel any part of it is unrealistic, drop a comment — I’d love to hear your thoughts on this!</p><h3>Who Am I?</h3><p>I’m Cibiyanna, a curious engineering student passionate about development and exploring new technologies. I actively do competitive programming and DSA to prepare for placements, and I’ll be sharing content on DSA, CP, and development here from now on! 🚀</p><p>Let’s connect! 🔗<br> 📌 <strong>LinkedIn:</strong> Cibiyanna P.<br> 📌 <strong>Twitter/X:</strong> @PCibiyanna</p><p>Hope you enjoyed the content — drop your thoughts in the comments! ✨</p><p><strong>Peace ☮️</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=35133a1a9b31" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding --save vs --save-dev in npm: What's the Difference?]]></title>
            <link>https://medium.com/@pkcibiyanna/understanding-save-vs-save-dev-in-npm-whats-the-difference-22e1ed0d5c3e?source=rss-898ae59ac45b------2</link>
            <guid isPermaLink="false">https://medium.com/p/22e1ed0d5c3e</guid>
            <dc:creator><![CDATA[Cibiyanna P]]></dc:creator>
            <pubDate>Tue, 04 Mar 2025 03:45:01 GMT</pubDate>
            <atom:updated>2025-03-04T03:45:01.828Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*v5Lqjt9lv2oa4Bo3vzw8MA.png" /><figcaption>created by<a href="https://imageresizer.com/meme-generator"> imageresizer</a></figcaption></figure><p>Hey guys, If you are familiar with <strong>Javascript</strong> or<strong> Node.js</strong>, I am pretty much sure that you guys might have come across the flags --save and --save-dev while installing packages. Getting to know about the difference between these two options plays a important role in managing your <strong>dependencies</strong> in your Javascript or Node.js project.</p><p>Ok then, let’s see what these two flags do?</p><h3>What is --save?</h3><p>The --save flag is used to install a package and add it to the <strong>dependencies</strong> section of your package.json file. These are the packages that your applications rely on production or deployment. Let’s make it simple, if you don’t have these packages installed, then your application won’t run properly.</p><h3>Example:</h3><pre>npm install express --save</pre><p>After running the command, your package.json will include:</p><pre>&quot;dependencies&quot;: {<br>  &quot;express&quot;: &quot;^4.18.2&quot;<br>}</pre><h3>When to Use --save?</h3><p>We will be using--save when installing packages that are required <strong>at runtime</strong>, such as:</p><ul><li>Web frameworks (express, next, react)</li><li>Database connectors (mongoose, pg, mysql)</li><li>Authentication libraries (passport, jsonwebtoken)</li></ul><h3>What is --save-dev?</h3><p>The --save-dev flag will install a package and adds it to the <strong>devDependencies</strong> section of your package.json file. These are the packages needed only during <strong>development</strong>, not in production.</p><h3>Example:</h3><pre>npm install jest --save-dev</pre><p>After running the command, your package.json will include:</p><pre>&quot;devDependencies&quot;: {<br>  &quot;jest&quot;: &quot;^29.5.0&quot;<br>}</pre><h3>When to Use --save-dev?</h3><p>Use --save-dev when installing packages that are required <strong>only during development</strong>, such as:</p><ul><li>Testing frameworks (jest)</li><li>Linters (eslint, prettier)</li><li>TypeScript support (typescript, @types/node)</li></ul><h3>Do You Still Need --save?</h3><p>Since npm v5 (released in 2017), the --save flag is <strong>optional</strong> because dependencies are automatically added to package.json. However, --save-dev is still required to explicitly <strong>differentiate dev dependencies</strong>.</p><h3>Example (Without --save in npm v5+):</h3><pre>npm install jest  # Automatically added to dependencies</pre><h3>Conclusion</h3><p>Understanding when to use --save and --save-dev helps keep your project organized and optimized. Use --save (or just npm install) for production dependencies and --save-dev for development tools.</p><p>We have to make sure that our dependencies are managed correctly, so that our project will run smoothly in both <strong>development</strong> and <strong>production</strong> environments.</p><h3>Who Am I?</h3><p>Hey everyone! I’m <strong>Cibiyanna P.,</strong> a curious engineering student passionate about <strong>development</strong> and exploring <strong>new technologies</strong>. I actively do <strong>competitive programming</strong> and <strong>DSA</strong> to prepare for placements, and I’ll be sharing content on <strong>DSA, CP, and development</strong> here from now on! 🚀</p><p>Let’s connect! 🔗<br>📌 <strong>LinkedIn:</strong> <a href="https://www.linkedin.com/in/cibiyanna/">Cibiyanna P.</a><br>📌 <strong>Twitter/X:</strong> <a href="https://x.com/PCibiyanna">@PCibiyanna</a></p><p>Hope you enjoy the content — drop your thoughts in the comments! ✨<br><strong>Peace ☮️</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=22e1ed0d5c3e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why 10⁹+7 Rules Competitive Programming — The Magic Modulo Explained!]]></title>
            <link>https://medium.com/@pkcibiyanna/why-10%E2%81%B9-7-rules-competitive-programming-the-magic-modulo-explained-4ffa5ba26cfc?source=rss-898ae59ac45b------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ffa5ba26cfc</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[competitive-programming]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[integer]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Cibiyanna P]]></dc:creator>
            <pubDate>Mon, 03 Mar 2025 10:01:51 GMT</pubDate>
            <atom:updated>2025-03-03T16:11:03.888Z</atom:updated>
            <content:encoded><![CDATA[<h3>Why we use Modulus 10⁹ + 7 in Coding</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TYc6a9LRyk3hRuWTFUcNyA.png" /></figure><h3>Introduction</h3><p>In competitive programming, modular arithmetic plays a crucial role in keeping numbers manageable and avoiding overflow. Among all possible mod values, <strong>10⁹+ 7 (1,000,000,007)</strong> is the most commonly used. But why this specific number? And are there better alternatives? Let’s explore.</p><blockquote>Before getting into modulo, let’s see some basics of programming which will give a clear idea of why 10⁹+7…</blockquote><h4>Integer Data Types and Their Limits</h4><p>Before diving into modular arithmetic, let&#39;s understand the limitations of integer data types, as this will provide insight into why 10⁹ + 7 is widely chosen.</p><p>Each integer type has a specific range:</p><ul><li><strong>32-bit (int):</strong> -2³¹ to 2³¹-1</li><li><strong>64-bit (long long):</strong> -2⁶³ to 2⁶³-1</li></ul><p>Now, let’s approximate how these values relate to 10⁹ + 7:</p><ul><li>The approximate value of 2¹⁰ is <strong>10³</strong>.</li><li>Thus, 2³¹<strong>≈ 2 x 10⁹</strong>.</li><li>The maximum limit of a 32-bit integer is roughly 2 <strong>x 10⁹</strong>, which means 10⁹<strong>+ 7</strong> falls within this range ( comes under integer max value ).</li><li>Similarly, the maximum limit of a 64-bit integer is around <strong>10¹⁸</strong>, which easily includes <strong>10⁹ + 7</strong>.</li></ul><p>Since <strong>10⁹ + 7</strong> fits within both int and long long ranges, it helps prevent overflow while keeping computations efficient.</p><p>Yeah, I know it’s a big math, but bear ʕ•ᴥ•ʔ with me you will get it clearly.</p><h3>Why Choose 10⁹ + 7 Specifically?</h3><p>There are many numbers below the integer limit, so why is <strong>10⁹ + 7</strong> the preferred choice? Here’s why:</p><h4>1. It’s the First Prime Number After 10⁹</h4><p>One of the key reasons <strong>10⁹ + 7</strong> is used is that it is the <strong>first prime number greater than 10⁹</strong>. This makes it a natural choice when looking for a large prime close to a billion, as it provides all the benefits of prime modulus operations while being the smallest option beyond 10⁹.</p><h4>2. Fits Within 32-bit Integer Limits</h4><p>Since <strong>10⁹ + 7</strong> is less than <strong>2,147,483,647</strong>, any result of a modulo operation will always remain within the bounds of a 32-bit signed integer. This allows calculations to be performed using int rather than long long, which can be more efficient.</p><h4>3. Prevents Overflow</h4><p>Applying the modulus operation with <strong>10⁹ + 7</strong> helps keep numbers within manageable limits. This prevents integer overflows that could otherwise occur in large computations, ensuring stability and correctness in results.</p><h4>4. Preferred Over 10⁹ + 9</h4><p>Another common prime used in competitive programming is <strong>10⁹ + 9 (1,000,000,009)</strong>. While both numbers share similar properties, <strong>10⁹ + 7</strong> is often chosen over <strong>10⁹ + 9</strong> for the following reasons:</p><ul><li><strong>It’s the first prime after 10⁹,</strong> making it a more natural choice when looking for a small prime beyond a billion.</li><li><strong>Adoption and Standardization:</strong> Most libraries, problem statements, and solutions are already optimized for <strong>10⁹ + 7</strong>.</li></ul><h3>Conclusion</h3><p>The number <strong>10⁹ + 7</strong> is a natural choice for modulo operations in competitive programming due to its mathematical properties and practical benefits. Being the <strong>first prime after 10⁹</strong>, it is the smallest prime beyond a billion, making it an ideal modulus. Its large prime nature ensures valid modular inverses, while its size conveniently fits within standard integer limits, making it both safe and efficient. While <strong>10⁹ + 9</strong> is a viable alternative, <strong>10⁹ + 7</strong> remains the default due to its widespread use, slight performance advantages, and historical precedence. Next time you see <strong>mod 10⁹ + 7</strong>, you’ll know exactly why it’s so popular!</p><h3><strong>Who Am I?</strong></h3><p>Hey everyone! I’m <strong>Cibiyanna P.,</strong> a curious engineering student passionate about <strong>development</strong> and exploring <strong>new technologies</strong>. I actively do <strong>competitive programming</strong> and <strong>DSA</strong> to prepare for placements, and I’ll be sharing content on <strong>DSA, CP, and development</strong> here from now on! 🚀</p><p>Let’s connect! 🔗<br> 📌 <strong>LinkedIn:</strong> <a href="https://www.linkedin.com/in/cibiyanna/">Cibiyanna P.</a><br> 📌 <strong>Twitter/X:</strong> <a href="https://x.com/PCibiyanna">@PCibiyanna</a></p><p>Hope you enjoy the content — drop your thoughts in the comments! ✨<br><strong>Peace ☮️</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ffa5ba26cfc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>