banknotes to store the count of each banknote denomination.deposit method to increment the counts of banknotes based on the input array.withdraw method as follows:
result to store the count of banknotes to be withdrawn.banknotes array and return result.[-1] to indicate failure.