IntermediateGreedy
Market Change
Given item cost and cash paid in Jamaican dollars, output the minimum number of bills/coins for the change using denominations 5000, 1000, 500, 100, 50, 20, 10, 5, and 1.
Open problemProblems
Build problem-solving habits with topic filters, difficulty levels, visible examples, and an online code workspace.
Choose a Python Foundations, coding practice, or PCEP review path and work through problems in order.
Difficulty
Showing 1 of 30 problems
Clear filtersGiven item cost and cash paid in Jamaican dollars, output the minimum number of bills/coins for the change using denominations 5000, 1000, 500, 100, 50, 20, 10, 5, and 1.
Open problem