You are given an integer array nums of length n and an integer array quantity of length m, where the quantity[i] integers.
Each customer must receive all identical integers from nums. Each element from nums can be assigned to at most
Return true if it is possible to satisfy all false otherwise.
Constraints:
n nums.length
nums[i]
m quantity.length
quantity[i]
There are at most nums.
You are given an integer array nums of length n and an integer array quantity of length m, where the quantity[i] integers.
Each customer must receive all identical integers from nums. Each element from nums can be assigned to at most
Return true if it is possible to satisfy all false otherwise.
Constraints:
n nums.length
nums[i]
m quantity.length
quantity[i]
There are at most nums.