💸 From ₹1 to ₹10 Crores in 30 Days? — The Power of Exponential Growth

Aryan JaiswalAryan Jaiswal
2 min read

Today’s DSA session wasn’t just about code — it was a mindset shift. Thanks to Prateek Sir, we dove into a powerful real-life analogy that made the concept of exponential growth crystal clear. And honestly, it blew my mind.

Let me pose a simple question:

Suppose you’re offered a job with a salary of ₹1 lakh per month.
Now imagine an alternative offer — start with ₹1 on Day 1, and double it every day for 30 days.

Which one would you choose?

Most of us might instinctively say the first — stable, guaranteed, and immediate. But let’s break it down. 👇


📈 The Exponential Offer:

  • Day 1: ₹1

  • Day 2: ₹2

  • Day 3: ₹4

  • Day 4: ₹8

  • ...

  • Day 30: ₹2³⁰ ≈ ₹10 Crores! 💥

That’s the beauty of 2ⁿ growth. As explained in today’s session:

2^10 ≈ 1000 → So,
2^30 = 2^10 * 2^10 * 2^10 ≈ 1000 * 1000 * 1000 = 10^9 ≈ 10 Crores

Meanwhile, the regular ₹1L/month job gives you just ₹1 lakh by month-end.


🧠 What I Loved the Most:

This example wasn’t just about money — it was about thinking in scales, and understanding how exponential growth beats linear progress in the long run. It’s the same logic we apply in DSA while optimizing solutions:

  • A loop inside a loop? That’s O(n²)

  • Binary Search? That’s O(log n)

  • Recursive splits? Welcome to O(2^n) territory (like Fibonacci brute force)

We also explored different time complexities — constant, logarithmic, linear, quadratic, and exponential — using real, relatable examples that made the concepts stick.


🎯 Takeaway:

"Sometimes, the smallest start with the smartest plan leads to the biggest outcome."

And that's what DSA — and life — is all about. Choose the right approach, not just the obvious one.

Super excited for the upcoming sessions! Let’s crack DSA the smart way. 🚀

#chaiCode #DSAwithC++ #HiteshChoudhary #PratikSir #TimeComplexity #ExponentialGrowth #LearningInPublic #DSA #JobOffers #ThinkOptimal

0
Subscribe to my newsletter

Read articles from Aryan Jaiswal directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Aryan Jaiswal
Aryan Jaiswal