Fairly Distribute Money With Limits

Asked at Gusto · Coding Questions · Difficulty: Medium

You are given a non-negative integer `amount`, representing the total amount of money to distribute. The amount is represented in indivisible integer units, such as cents.

Loading the problem…