Select nth coin (value = vn), Now Smaller problem is minimum number of coins required to make change of amount( j-v1), MC(j-vn). We need to find the minimum number of coins required to make change for j amount.
Qmk toolbox homebrew