Question: You aim to design an efficient algorithm (polynomial complexity) to find the optimal (lowest) number of coins to give in the coin change problem. You
You aim to design an efficient algorithm (polynomial complexity) to find the optimal (lowest) number of coins to give in the coin change problem. You realised that this is a combinatorial optimisation problem, and only brute-force algorithm can guarantee that you will find the optimal solution.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
