題名: A greedy approach to the coin exchange problem
作者: Hsieh, Ming Yu
Shieh, Min-Zheng
Tsai, Shi-Chun
關鍵字: Coin change
coin exchange
greedy algorithm
期刊名/會議名稱: 2004 ICS會議
摘要: We consider a variation of the well known coin changing problem: Suppose that we buy some merchandise priced at x dollars in a cur- rency with n kinds of coins valued at c1; c2; ¢ ¢ ¢ ; cn dollars. What is the fewest possible number of coins required to be exchanged? In this paper, we propose a greedy algorithm, which ¯nds optimal so- lutions for the case when ci = ci¡1; i = 1; :::; n. Also if we apply our greedy algorithm to general input, then we can determine the solution to be optimal or not in O(ncn) time.
日期: 2006-10-16T06:02:23Z
分類:2004年 ICS 國際計算機會議

文件中的檔案:
檔案 描述 大小格式 
ce07ics002004000214.pdf332.37 kBAdobe PDF檢視/開啟


在 DSpace 系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。