首页 | 本学科首页   官方微博 | 高级检索  
     


Long Division: An Example of When the Greedy Algorithm Solves a Knapsack Problem
Authors:Michael J. Magazine   Henry L. W. Nuttle
Affiliation: a University of Waterloo, Waterloo, Ontario, Canadab North Carolina State University, Raleigh, North Carolina
Abstract:
The familiar long division procedure is recast as an application of the greedy algorithm for a Knapsack Problem. In this light it can be seen to yield the desired quotient by employing the smallest possible number of subtractions.
Keywords:
本文献已被 InformaWorld 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号