# Top 20 Greedy Algorithms Interview Questions

Greedy is an algorithmic paradigm that builds up a solution piece by piece, always choosing the next piece that offers the most obvious and immediate benefit. Greedy algorithms are used for optimization problems.

- Activity Selection Problem
- Kruskal’s Minimum Spanning Tree Algorithm
- Huffman Coding
- Efficient Huffman Coding for Sorted Input
- Prim’s Minimum Spanning Tree Algorithm
- Prim’s MST for Adjacency List Representation
- Dijkstra’s Shortest Path Algorithm
- Dijkstra’s Algorithm for Adjacency List Representation
- Job Sequencing Problem
- Greedy Algorithm to find Minimum number of Coins
- K Centers Problem
- Minimum Number of Platforms Required for a Railway/Bus Station
- Connect n ropes with minimum cost
- Graph coloring
- Fractional Knapsack Problem
- Minimize Cash Flow among a given set of friends who have borrowed money from each other
- Find minimum time to finish all jobs with given constraints
- Find maximum sum possible equal to sum of three stacks
- Dail’s Algorithm
- Boruvka’s algorithm

This article is contributed by **Ayushmaan Bansal**. If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

## Recommended Posts:

- Top 10 algorithms in Interview Questions
- Top 10 algorithms in Interview Questions | Set 2
- Correctness of Greedy Algorithms
- SQL Interview Questions
- Top 25 Interview Questions
- Advanced SQL Interview Questions
- Facebook Interview Questions
- Amazon's most asked interview questions
- Commonly Asked C++ Interview Questions | Set 2
- Commonly Asked OOP Interview Questions | Set 1
- Commonly Asked C++ Interview Questions | Set 1
- Interview Questions for Java Professionals
- Top 20 Backtracking Algorithm Interview Questions
- JavaScript Interview Questions and Answers
- Top 10 Interview Questions on Depth First Search (DFS)