Greedy algorithm

  • add term