leo.blog();

Greedy algorithm

A greedy algorithm is an algorithm that picks the locally optimal choice at every step, hoping to get to the global optimum, or somewhere close to it.

Leave a Comment