greedy algorithm

时间:2011-09-28 17:08:15
【文件属性】:

文件名称:greedy algorithm

文件大小:200KB

文件格式:PPT

更新时间:2011-09-28 17:08:15

algorithm

Many real-world problems are optimization problems in that they attempt to find an optimal solution among many possible candidate solutions. A familiar scenario is the change-making problem that we often encounter at a cash register: receiving the fewest numbers of coins to make change after paying the bill for a purchase. For example, the purchase is worth $5.27, how many coins and what coins does a cash register return after paying a $6 bill? The Make-Change algorithm:


网友评论

  • 不错,谢谢!
  • 贪心算法的英文版讲义,还可以
  • 不好找的资料啊,感谢您的分享