26984 words

greedy

2 definitions • 4 examples
1
wanting a lot more food, money, etc. than you need:

Examples:

greedy, selfish people
greedy for He's greedy for power/success.
2
A greedy algorithm (= a set of mathematical instructions or rules given to a computer to help calculate something) or method of solving a problem involves making the best choice at each stage without considering future stages:

Examples:

They tested the algorithm against the so-called greedy algorithm used as the basis for the allocation of servers by most internet host providers.
A greedy strategy for the problem is the following: "At each step of the journey, visit the nearest unvisited city."

Navigation