Greedy Algorithms
Introduction
In greedy algorithms, we find the optimum solution. The closest solution which may be optimum is chosen. It may lead to optimized solutions but mostly greedy algorithms do not provide globally optimized solutions.
Examples
-
Travelling salesman problem
-
Prim's Minimal Spanning Tree Algorithm
-
Kruskal's Minimal Spanning Tree Algorithm
-
Dijkstra's Minimal Spanning Tree Algorithm
-
Graph - Map Coloring
-
Graph - Vertex Cover
-
Knapsack Problem
-
Job Scheduling Problem