The problem, in one line. Given coin values you can use as often as you like and a target amount, return the fewest coins that sum to it, or -1 if no combination works. LeetCode 322.
The tell. “Fewest pieces that add up to a total” with unlimited reuse. When the last piece is one of a handful of known values, the best for a total comes from the best for a smaller total.