My issue
Shouldn’t there be same number of cupcakes in each package? If it is then why in 2nd example output is 3? I can take 1 cupcake in 1 package. So that I will get maximum output 5. 5 cupcakes in 5 packages. Why here 2 leftovers?
My code
# cook your dish here
Problem Link: Packaging Cupcakes Practice Coding Problem