Problem
Given an array of coin denominations and a target amount, return the fewest number of coins needed to make up that amount. Each denomination may be used any number of times. If the amount cannot be formed from the given coins, return -1.
Input / Output
Constraints
Example