Algorithm Archive

Print prime numbers from 1 to 100 in java

In this program, we will print prime numbers from 1 to 100 in java. A prime number is a number ...
Read More

Minimum Number of Jumps to reach last Index

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

Sort an array of 0s, 1s and 2s

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

Check if it is possible to reach end of given Array by Jumping

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

Inorder Successor in a Binary Search Tree

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

Check if Array Elements are Consecutive

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

LCA of a K-ary Tree in O(Sqrt(height))

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

Largest Rectangular Area in a Histogram

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

Longest common Subsequence

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

Kruskal’s Algorithm for finding Minimum Spanning Tree

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