Most days picking distinct products
You have quantities of several products. On day i (starting at 1) you must pick exactly i items, each from a different product, out of what is left. Return the largest number of days you can keep going.
No answer yet. Write the first one; the best answer gets endorsed.
