In this tutorial, you will learn what an adjacency matrix is. Likewise, you will discover working instances of adjacency matrix in C, C++, Java, and Python. An adjacency matrix is a method of addressing a graph G = {V, E} Read More …

## Adjacency Matrix

## Strongly Connected Components

In this tutorial, you will learn how strongly connected components are formed. Additionally, you will discover working instances of kosararju’s algorithm in C++, Java, and Python. Connectivity in an undirected graph implies that each vertex can arrive at the other Read More …

## Spanning Tree and Minimum Spanning Tree

Spanning Tree: In this tutorial, you will learn about spanning trees and minimum spanning trees with the assistance of examples and figures. Before we learn about spanning trees, we need to understand two graphs: undirected graphs and directed graphs. An Read More …

## Graph Data Structure

In this tutorial, you will learn what a Graph Data Structure is. Likewise, you will discover representations of a graph. Contents1 What is a graph (data structure)?2 Types of graphs:2.1 Undirected Graph:3 Directed Graph4 Graph Terminology5 Graph Representation5.1 1. Adjacency Read More …

## Red-Black Tree Deletion

Contents1 Red-Black Tree Deletion2 What is a Red-Black Tree?3 Deleting an element from a Red-Black Tree4 Algorithm to maintain Red-Black property after deletion5 Python, Java and C/C++ Examples Red-Black Tree Deletion In this tutorial, you will learn how a node Read More …

## Red-Black Tree Insertion

Contents1 Red-Black Tree Insertion 2 What is a Red-Black Tree?3 Algorithm to Insert a New Node4 Why newly inserted nodes are always red in a red-black tree?5 Algorithm to Maintain Red-Black Property After Insertion6 Python, Java, and C/C++ Examples Red-Black Read More …

## Red-Black Tree

In this tutorial, you will learn what a red-black tree is. Likewise, you will discover working instances of different tasks performed on a red-black tree in C, C++, Java, and Python. Contents1 What is a Red-Black Tree?2 How the red-black Read More …

## B+ Tree Deletion

Contents1 B+ Tree Deletion2 What is a B+ Tree?3 Deletetion Operation4 Python, Java, and C/C++ Examples B+ Tree Deletion In this tutorial, you will learn about the deletion operation on a B+ tree. Likewise, you will discover working instances of Read More …

## B+ Tree Insertion

Contents1 B+ Tree Insertion 2 What is a B+ Tree?3 Insertion Operation4 Insertion Example5 Python, Java, and C/C++ Examples6 Insertion Complexity B+ Tree Insertion In this tutorial, you will learn about the insertion operation on a B+ tree. Additionally, you Read More …

## B+ Tree

In this tutorial, you will learn what a B+ tree is. Additionally, you will discover working instances of searching operation on a B+ tree in C, C++, Java, and Python. Contents1 What is a B+ Tree?2 Properties of a B+ Read More …