In this article, you will learn how to Implement Prim’s Algorithm for Minimum Spanning Tree, with an example in Java based on backtracking.
Data Structures and Algorithms
How to Solve the N-Queen Problem
In this article, you will learn how to solve N-Queen problem, with an example in Java based on backtracking.
How to Solve the Matrix Chain Multiplication Problem
In this article, you will learn how to solve theMatrix Chain Multiplication problem, with an example in Java.
How to Solve the Longest Common Subsequence Problem
In this article, you will learn how to solve the longest common subsequence problem, with an example in Java.
How to Solve the Coin Change Problem
In this article, you will learn how to solve the coin change problem, with an example in Java.
How to Do a Breadth First Search for a Graph
In this article, you will learn how to do a Breadth First Search for a graph, with an example in Java.
How to Do a Depth First Search for a Graph
In this article, you will learn how to do a Depth First Search for a graph, with an example in Java.
How to Implement the Kruskal’s Algorithm
In this article, you will learn how to implement the Kruskal’s Algorithm, with an example in Java.
How to Implement the Dijkstra’s Algorithm
In this article, you will learn how to implement the Dijkstra’s Algorithm, with an example in Java.
How to Implement the Edit Distance Algorithm
In this article, you will learn how to implement the Edit Distance Algorithm, with an example in Java.

