DataStructure Tutorial

datastructure

Data structure is a particular way of storing and organizing data in a computer so that it can be used efficiently. Data structures are classified into two types - Linear data structures and non-linear data structures.

In a linear data structure elements are accessed in sequential order but it is not compulsory to store all elements sequentially. For example, Linked Lists, Stacks and Queues.

In a non-linear data structure the elements are stored/accessed in a non-linear order. For example, Trees and Graphs

Hashing Techniques

By Dhiraj , 07 April, 2020 0K

In this article, we will discuss about different hashing techniques and collision conditions. We will list out different collision resolution techniques and discuss about closed addressing technique....

Dijkstra Algorithm Implementation in Java

By Dhiraj , 06 April, 2020 0K

In this article, we will discuss about how we can implement Dijkstra algorithm in Java to find the shortest paths between nodes in a graph....

Graph Implementation in Java

By Dhiraj , 21 March, 2020 0K

In this article, we will discuss how to implement a Graph data structure in Java using the adjacency list representation of Graph. We will perform insert and search operations. We will implement the B...

Blocking Queue Implementation in Java

By Dhiraj , 20 March, 2020 0K

In this article, we will be creating a custom implementation of Blocking Queue in Java. We will provide a LinkedList implementation of it and perform multiple operations such as put() and take()....

Doubly Linked List Custom Implementation in Java

By Dhiraj , 16 March, 2020 0K

Let us discuss how can we implement doubly linked lists in Java. We will provide a custom implementation of doubly-linked lists and perform multiple operations such as insertion, deletion, and travers...

Tree Implementation in Java

By Dhiraj , 11 March, 2020 0K

In this article, we will provide a custom implementation of Tree data structure in Java. We will discuss a special case of Tree, i.e.- Binary Search Tree(BST). We will perform multiple tree operations...

Custom Queue Implementation in Java

By Dhiraj , 10 March, 2020 0K

In this article, we will create a custom implementation of Queue data structure in Java. In the course, we will perform different queue operations such as enQueue(), deQueue(), etc. We will also check...

Custom Stack Implementation in Java

By Dhiraj , 10 March, 2020 0K

In this article, we will be discussing implementing stack data structure in Java and perform multiple stack operations such as pop(),push() and peek(). We will also take a look at the time complexity...

Custom LinkedList Implementation in Java

By Dhiraj , 10 March, 2020 0K

In this article, we will be creating a LinkedList implementation in Java and perform several operations such as insert a node at the end, insert a node at a given index, delete a node, insert the head...

Different Sorting Algorithms

By Dhiraj , 07 March, 2020 0K

In this article, we will be discussing different sorting techniques and algorithms with examples that are most frequently used in computer science. We will discuss Bubble sort, Selection Sort, Insert...