Greedy Algorithms

A greedy algorithm makes the optimal choice from those choices available at the time of decision.

An example might be a driver taking the streets with the highest speed limit, with no regard for whether one of the streets with a lower speed limit leads to one with the overall highest of all the limits.

Reference

https://skerritt.blog/greedy-algorithms/