A Java program to implement a Heap Tree of 10 nodes and perform insertion and deletion on it.
A Java program of Approximation Algorithm for Traveling Salesman Problem, using the nearest neighbor.
This blog will help you to know about the greedy algorithm and how to implement it for fractional knapsack problems using Java.