Given a sum amount 1.15 Rs.
(1 Rs. = 100 Paise), so total 115 paise and given a list of 8 coins
with denominations as {1, 2, 5, 10, 20, 25, 50, 100}
paise. Find 6 coins
which sum to 1.15 Rs. The constraint is that I should not be able to give change from my solution for the amounts given in a restricted set. The restricted set here is {5, 10, 20, 25}
.
Appreciate any solutions or pointers.