摘要: 原题 Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n. For example, given n =  阅读全文
posted @ 2017-04-11 17:21 小丑进场 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 原题 You are given coins of different denominations and a total amount of money amount. Write a function to compute the fewest number of coins that you 阅读全文
posted @ 2017-04-11 16:55 小丑进场 阅读(181) 评论(0) 推荐(0) 编辑