30 days c++ course

I want to learn data structures and algorithms in c++. The course should be 30 days long. Each day, i want to solve a new challenge. i want to learn these topic in order: Arrays, linked lists, stacks and queues, trees, graphs. In each topic, put the challenges from easy to hard order.

Section Menu

How do I use this section?

1. LESSON

Arrays

Introduction to Arrays Arrays are one of the fundamental data structures in programming. They are used to store a collection of elements of the same data type. Arrays provide efficient access to individual elements and allow for easy manipulation and analysis of data. Use Cases for Arrays Arrays have a wide range of applications in var...

2. LESSON

Linked Lists

Welcome to the world of Linked Lists! Linked lists are linear data structures that store elements in a non-contiguous manner. Unlike arrays, which store elements in contiguous memory locations, linked lists use nodes to hold the elements and pointers to connect the nodes. Let's take a look at the advantages of linked lists over arrays: **1. Dyn...

3. LESSON

Stacks and Queues

The concept of a stack is similar to a stack of books or plates, where the last item placed on top is the first item to be removed. In computer science, a stack is a data structure that follows a similar last-in, first-out (LIFO) order. Imagine you have a pile of plates, and you want to add more plates to it. You would place each new plate on...

4. LESSON

Trees

Introduction to Trees A tree is a widely used data structure that represents a hierarchical structure. It consists of nodes, where each node can have zero or more child nodes. The topmost node in a tree is called the root, and the nodes at the bottom of the hierarchy with no child nodes are called leaf nodes. Tree Terminology To understa...

5. LESSON

Graphs

Introduction to Arrays Arrays are one of the fundamental data structures in computer science. They are a collection of elements of the same type, grouped together under a single name. One of the key properties of arrays is that they have a fixed size, meaning the number of elements they can hold is determined at the time of declaration. In C+...