You are given an integer n representing the number of retail stores and an integer array quantities, where quantities[i] denotes the total quantity of the
You must distribute all products to the n stores adhering to the following rules:
A store can be allocated at most one product type, but can receive any amount of that product.
A store may also receive
Let
Return the minimum possible value of
Constraints:
m quantities.length
m n
quantities[i]
You are given an integer n representing the number of retail stores and an integer array quantities, where quantities[i] denotes the total quantity of the
You must distribute all products to the n stores adhering to the following rules:
A store can be allocated at most one product type, but can receive any amount of that product.
A store may also receive
Let
Return the minimum possible value of
Constraints:
m quantities.length
m n
quantities[i]