A greedy algorithm builds a solution one piece at a time, each time taking the piece that looks best at that moment, by a fixed rule, and never going back on a choice.
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表
什么是 Greedy algorithm?
A greedy algorithm builds a solution by a sequence of choices, each made by a fixed rule that looks only at the current partial solution, and never undone.