TOPIC / CATEGORY

Notes in Programming

7 articles

Mastering Algorithms and Data Structures for Efficient Programming

Mastering Algorithms and Data Structures for Efficient Programming

In the realm of programming, algorithms and data structures serve as the backbone of efficient software development. Understanding how to use them effectively...

4 min read
Memory Misadventures in C/C++: Unmasking Pitfalls and Sculpting Solutions

Memory Misadventures in C/C++: Unmasking Pitfalls and Sculpting Solutions

In the domain of C/C++ programming, the mantle of memory management falls squarely upon the developer's shoulders. This responsibility, although powerful,...

3 min read
Exploring Data Structures in C++

Exploring Data Structures in C++

Data structures are fundamental components in computer science, serving as the backbone for managing and organizing information efficiently. In C++, a language...

5 min read
Understanding Algorithm Efficiency: Time and Space Complexity Explained

Understanding Algorithm Efficiency: Time and Space Complexity Explained

In algorithm design, we pursue the following two objectives: 1. Finding a Solution to the Problem: The algorithm must reliably find the correct solution to...

4 min read
Understanding How malloc and new Work in C++

Understanding How malloc and new Work in C++

In C++, there are two common ways to get memory for your program while it’s running: using malloc and new. Both give you space to store things like numbers...

4 min read
Understanding Algorithms and Data Structures for Beginners

Understanding Algorithms and Data Structures for Beginners

When stepping into the world of programming, two terms often come up: algorithms and data structures. While they might sound complex at first, they are...

4 min read
Memory Leaks Unleashed: The Cost of Forgetting free and delete in C/C++

Memory Leaks Unleashed: The Cost of Forgetting free and delete in C/C++

Memory management is a cornerstone of effective programming, especially in languages like C and C++ that offer extensive low-level control to developers....

3 min read