Greedy Algorithms

suggest change


A greedy algorithm is an algorithm in which in each step we choose the most beneficial option in every step without looking into the future. The choice depends only on current profit.

Greedy approach is usually a good approach when each profit can be picked up in every step, so no choice blocks another one.

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents