Coin Change


my AC solution with DFS,similar to arppoach 1:
https://leetcode.com/discuss/107534/sharemy28msdfsshortccodehopecanhelp

Maybe a missing test case mentioned in this post : https://leetcode.com/discuss/110931/amissingtestcase

@bluezebra min is initialized as Integer.MAX_VALUE if that is never replaced, means there's no way to make the change. E.g. amount = 1, no coins are available, then min = Integer.MAX_VALUE, so return 1 signaling that no solution is found. Else, just return the min, because min has been updated throughout to reflect the smallest number of ways to make change.