You are given infinite coins of denominations 1, 3, 4. What is the minimum number of coins required to achieve a sum of 7?
(a) 1
(b) 2
(c) 3
(d) 4
This question was addressed to me in an interview for job.
My doubt stems from Coin Change Problem in portion Dynamic Programming of Data Structures & Algorithms II