<?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: ANKIT DABRAL</title>
    <description>The latest articles on DEV Community by ANKIT DABRAL (@ankit250505).</description>
    <link>https://dev.to/ankit250505</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4222609%2F77d1ad09-5761-4ad5-b980-a3e551d3505f.jpg</url>
      <title>DEV Community: ANKIT DABRAL</title>
      <link>https://dev.to/ankit250505</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ankit250505"/>
    <language>en</language>
    <item>
      <title>Starting My DSA Journey with C++ — Learning One Problem at a Time 🚀</title>
      <dc:creator>ANKIT DABRAL</dc:creator>
      <pubDate>Mon, 02 Nov 2026 14:55:50 +0000</pubDate>
      <link>https://dev.to/ankit250505/starting-my-dsa-journey-with-c-learning-one-problem-at-a-time-28bo</link>
      <guid>https://dev.to/ankit250505/starting-my-dsa-journey-with-c-learning-one-problem-at-a-time-28bo</guid>
      <description>&lt;p&gt;I've decided to take my Data Structures and Algorithms (DSA) preparation more seriously and, instead of just solving problems privately, I want to start documenting my learning journey here.&lt;/p&gt;

&lt;p&gt;I'm currently practising DSA using C++, with a simple goal: build strong problem-solving skills, understand the logic behind solutions, and become better at writing efficient code.&lt;/p&gt;

&lt;p&gt;Why I started this journey&lt;/p&gt;

&lt;p&gt;One thing I've realised is that knowing programming syntax and actually solving problems are two different things.&lt;/p&gt;

&lt;p&gt;You might know loops, conditions, arrays, and functions, but applying them to solve a problem requires a different level of understanding.&lt;/p&gt;

&lt;p&gt;That's what I want to improve through consistent practice.&lt;/p&gt;

&lt;p&gt;What I'm currently working on&lt;/p&gt;

&lt;p&gt;I'm starting with basic logic-building problems, particularly star patterns.&lt;/p&gt;

&lt;p&gt;At first, these problems might look simple, but they are a great way to understand nested loops and how program execution works.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;For example, consider this pattern:

*
***
*****
*******
*********

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;While solving it, I explored how the outer loop controls the rows and the inner loop controls the number of stars printed in each row.&lt;/p&gt;

&lt;p&gt;One interesting thing I learned was how the expression 2 * i - 1 can generate an increasing odd number of stars without manually specifying the count for every row.&lt;/p&gt;

&lt;p&gt;It's a small concept, but understanding the mathematics behind the logic makes a difference.&lt;/p&gt;

&lt;p&gt;How I plan to document my progress&lt;/p&gt;

&lt;p&gt;I'm planning to follow a consistent approach:&lt;/p&gt;

&lt;p&gt;Practice problems regularly.&lt;/p&gt;

&lt;p&gt;Understand the logic before looking at solutions.&lt;/p&gt;

&lt;p&gt;Maintain notes about concepts and mistakes.&lt;/p&gt;

&lt;p&gt;Complete problems in batches of five.&lt;/p&gt;

&lt;p&gt;Push my solutions and progress updates to GitHub.&lt;/p&gt;

&lt;p&gt;I'll also share what I learn, the problems I find challenging, and the concepts that become clearer along the way.&lt;/p&gt;

&lt;p&gt;My goal&lt;/p&gt;

&lt;p&gt;I don't want this to become just another repository filled with solutions. I want it to reflect my actual learning process — including the mistakes, confusion, improvements, and progress.&lt;/p&gt;

&lt;p&gt;I know consistency matters more than speed, so I'm taking it one problem at a time.&lt;/p&gt;

&lt;p&gt;This is Day 1 of documenting my DSA journey. Let's see how far consistent effort can take me!&lt;/p&gt;

&lt;p&gt;GitHub Repository- &lt;a href="https://github.com/ankit250505" rel="noopener noreferrer"&gt;link for repo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;#CPP #LearningInPublic #100DaysOfCode #DeveloperJourney&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>algorithms</category>
      <category>cpp</category>
      <category>devjournal</category>
      <category>learning</category>
    </item>
  </channel>
</rss>
