Week 5 Discussion Forum

What is greedy algorithms ?

What is greedy algorithms ?

by MD.Munim Shariair Galib -
Number of replies: 0

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. So the problems where choosing locally optimal also leads to global solution are best fit for Greedy.


Example : 

44 words

Attachment Fractional-Knapsackexample-min-768x384.png