greedy algorithm
algorithm that makes locally optimal choices in a sequence of steps with the goal of reaching a global optimum
en-US/ˈɡɹidi ˈælɡɚˌɪðəm/
algorithm that makes locally optimal choices in a sequence of steps with the goal of reaching a global optimum