Category: Data Structure Tutorials

Learn Data Structures

Data Structure Tutorials Introduction to Data Structures Data Structure and Algorithm Data Structures Asymptotic Analysis Divide and Conquer Greedy Algorithm with Applications Linked List Doubly Linked Circular Linked List Stack in Data Structure Queue...

Interview Questions on Data structure

Data Structure Interview Questions with Answers

Data structures and algorithms are some of the most important topics for any technical interview. Most of the companies have a special interview round based on data structures and algorithms. This article contains a...

Sparse Matrix in data structure

Sparse Matrix in Data Structure

In programming, we usually represent a 2-D array in the form of a matrix. However, if a matrix has most of its elements equal to zero, then the matrix is known as a sparse...

Tree Traversal in data structure

Tree Traversal in Data Structure

Tree traversal means visiting each node of the tree. The tree is a non-linear data structure, and therefore its traversal is different from other linear data structures. There is only one way to visit...

Introduction to Data structures

Introduction to Data Structures

Data structures are a very important part and a key component of computer science. Without the presence of different types of data structures, it is impossible to store the information effectively. Data structures are...

Hash Table in data Structure

Hash Table| Hashing in Data Structure

A Hash table is a type of data structure that makes use of the hash function to map values to the key. This data structure stores values in an associative manner i.e. it associates...

Tower of Hanoi

Tower of Hanoi in Data Structure

The Tower of Hanoi is a mathematical puzzle containing 3 pillars/towers with n disks each of a different size/diameter. These disks can slide onto any pillar. The following diagram shows the initial state of...

Spanning tree in Data Structure

Spanning Tree in Data Structure

A spanning tree is a tree that connects all the vertices of a graph with the minimum possible number of edges. Thus, a spanning tree is always connected. Also, a spanning tree never contains...

AVL tree in Data Structure

AVL Tree in Data Structure

An AVL tree is a height-balanced binary search tree. The AVL tree is named after its inventors: Adelson-Velsky and Landis. In an AVL tree, the heights of the two-child subtrees can differ by utmost...