A greedy algorithm builds a solution one piece at a time, each time taking the piece that looks best at that moment, by a fixed rule, and never going back on a choice.
Computer Science · Glossário
O que é Greedy algorithm?
A greedy algorithm builds a solution by a sequence of choices, each made by a fixed rule that looks only at the current partial solution, and never undone.