 |
Greedy algorithm - Wikipedia, the free encyclopedia
A greedy algorithm is an algorithm that follows the problem solving heuristic of making the locally optimal choice at each stage[1] with the hope of finding a global optimum. In many problems, a greedy strategy does not in general produce an optimal solut
en.wikipedia.org |
 |