How will we print the coins which make up the minimum change for a given value?
Minimum coin change problem
@ysurange1998 everytime you are jumping to a value in the recursion tree or the dp array, you can just add whatever value you come across in an array or vector, or print it on the spot if the order does not matter.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.