Skip to content

# Data Structures

## Mastering Binary Search Algorithm [The Ultimate Guide]

Binary search is an approach to find the position of a target (specific) value by dividing a list of data items (generally arrays) into two halves.
And, then […]

## Delete first node in linked list: Program and Algorithm

In this article, you’ll learn how to delete first node in linked list in C++, along with that you’ll also see the algorithm to delete first node in linked list. […]

## Insert a node at a specific position in a linked list: Program and Algorithm

In this article, you’ll learn how to insert a node at a specific position in a linked list in C++, along with that you’ll also see the algorithm to insert a node at a specific position in a linked list […]

## Insert a node at the tail of a linked list: Program and Algorithm

In this article, you’ll learn how to insert a node at the tail of a linked list in C++, along with that you’ll also see the algorithm to insert a node at the tail/end of a linked.
So, Let’s get started! […]

## Insert a node at the head of a linked list: Program and Algorithm

In this article, you’ll learn how to insert a node at the head of a linked list in C++, along with that you’ll also see the algorithm to insert a node at the head of a linked list […]

## Traverse a Singly Linked List: Program and Algorithm

In this article, you’ll learn how to traverse a singly linked list in C/C++, along with that you’ll also see the algorithm to traverse a singly linked list.
So, Let’s get started!
What is meant by traversing a singly […]

## How do you create a node in a linked list?

In this article, you’ll learn how to create a node in a linked list in C/C++, along with that you’ll also see the algorithm to create a node in a linked list.
So, Let’s get started!
What is a node in linked list?
Each and every element of […]

## Array in Data Structure: From Zero to Hero

First thing first – Array is a type of data structure. Now, your question would be, what type?… Right? Answer: Array is a type of Linear and Static data structure.
If you are wondering, what is linear and static means here. Then, here you go! […]

## Update an element in an Array: Program and Algorithm

In this article, you’ll learn how to update an element in a specific position of an array in C/C++, along with that you’ll also see the algorithm to update an element in an array.
So, Let’s get started! […]