distribute-candies-to-people-no-overcounting

Status: IN

`min(give, candies)` ensures total distributed never exceeds the original candy count, even though `candies -= give` can drive the counter negative before the loop guard catches it.

Source: entries/2026/06/06/distribute-candies-to-people-solution.md

JSON