Author: Ajay Dabade

DSA14 min read

DSA in Java, Lesson 1: What Are Data Structures and Algorithms?

DSA in Java · Part 1 · FoundationsLesson 1 of 34 On this page (12 sections) 🎯 Why Do We Need Data Structures and Algorithms? 1️⃣ What Is a Data Structure? 2️⃣ What Is an Algorithm? 3️⃣ Data Structures and Algorithms Work Together 4️⃣ Why It Matters: Speed 5️⃣ The Basic Operations on Data 6️⃣ […]

C Programming14 min read

Pointers in C: Declaration and Initialization

C Programming · Part 7 · PointersLesson 29 of 29 On this page (14 sections) 🎯 Why Do We Need Pointers? 1️⃣ Memory and Addresses 2️⃣ What Is a Pointer? 3️⃣ Declaring and Initializing a Pointer 4️⃣ A Pointer Type Must Match the Data Type 5️⃣ How Big Is a Pointer? 6️⃣ Start Safe: the […]

C Programming14 min read

Passing Arrays to Functions in C: Search, Sum and Sort

C Programming · Part 6 · Functions and ScopeLesson 28 of 29 On this page (15 sections) 🎯 Why Pass Arrays to Functions? 1️⃣ Passing a Single Element 2️⃣ Passing the Whole Array 3️⃣ The Big Difference: The Function Can Change the Original 4️⃣ Why the Size Must Be Passed Separately 5️⃣ Searching: Linear Search […]

C Programming13 min read

Call by Value in C: How Parameter Passing Works

C Programming · Part 6 · Functions and ScopeLesson 27 of 29 On this page (13 sections) 🎯 Why Does Parameter Passing Matter? 1️⃣ Actual and Formal Parameters 2️⃣ Call by Value in Action 3️⃣ Proof: Two Different Memory Boxes 4️⃣ Expressions and Constants as Arguments 5️⃣ Getting a Changed Value Back: return 6️⃣ Why […]