Data Structure Archive

PriorityQueue in Java 8

In this post, we will see about Java 8 PriorityQueue. When the objects are supposed to be processed on the ...
Read More

Print all subarrays of a given array

If you want to practice data structure and algorithm programs, you can go through 100+ data structure and algorithm programs ...
Read More

Dijkstra’s algorithm in java

In this post, we will see Dijkstra algorithm for find shortest path from source to all other vertices. Problem You ...
Read More

Doubly Linked List in java

In this post, we will see about Doubly LinkedList implementation in java. We have already seen the implementation of singly ...
Read More

Trie data structure in java

In this post, we will see about trie data structure in java. What is Trie : Trie is data structure ...
Read More

Selection sort in java

If you want to practice data structure and algorithm programs, you can go through data structure and algorithm interview programs. Selection ...
Read More

Shell sort in java

Shell sort is in place comparison based sorting algorithm. It is generalization of insertion sort. It was invented by Donald ...
Read More

Queue implementation in java

If you want to practice data structure and algorithm programs, you can go through data structure and algorithm interview questions. In ...
Read More

Implement Queue using Linked List in java

If you want to practice data structure and algorithm programs, you can go through data structure and algorithm interview questions. In ...
Read More

Quick Sort in java

If you want to practice data structure and algorithm programs, you can go through data structure and algorithm interview questions. Quick ...
Read More