Note : I’ve officially started my 27-day DSA journey using Striver’s SDE Sheet. Over the next few weeks, I’ll be journaling my progress daily — breaking down brute-force to optimal solutions, writing clean Java code, analyzing time and space complex...
If you’re preparing for coding interviews, you’ve probably heard about Big-O notation more times than you can count. But let’s be honest—most of us don’t need to memorize every complexity out there. What you do need is a solid grasp of the core conce...
A New Horizon Awaits Ever since the first humans looked up at the night sky, the stars have beckoned with silent allure. For centuries, they were unreachable symbols of myth and wonder. Today, however, they represent something profoundly different: t...
Understanding Big O Notation: An Introductory Guide When analyzing the efficiency and performance of algorithms, Big O Notation plays a crucial role. It provides a standardized way to describe the time complexity of an algorithm in relation to the in...
Part 1: Time Complexity – Why Fast Algorithms Matter 🚦 Real-World Analogy: The Coffee Shop Problem Imagine you’re at a busy coffee shop: Order StyleTime TakenBig-O EquivalentWhy? Single barista, one order at a timeLong waitO(n)Each customer t...
I know a lot of us learn data structures and algorithms (DSA) because we think it will help us land a software engineering role at FAANG or a FAANG-like company. Some, like me, learn them because it’s fun or because our friends are doing it! But many...
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 quest...
Basic Definition Data - refers to raw facts and figures (may not have any meaning)→ It is used in computation after processing. It has the following types : Primitive: int – Integer values (e.g., …, -1, 0, 1,…) float – Decimal numbers (e.g., -5.4...
Today I started the DSA with C++ 1.0 Cohort led by Hitesh Choudhary Sir and Prateek Sir, and the very first class left me with a golden insight — DSA is not just about solving problems, but solving them optimally. 💡 Here’s the simple yet powerful pr...
[40] Introduction Algorithm is any well defined computational procedure that takes some value or set of values as input and produces some value or set of values as output. The word ‘algorithm’ comes from the name of a Persian author, Abu Jafar Mohamm...