{"id":"distribute-candies-to-people-index-mapping","text":"The circular person assignment `(give - 1) % num_people` depends on `give` being 1-based; changing it to 0-based would require removing the `- 1` or the mapping breaks by off-by-one.","truth_value":"IN","source":"entries/2026/06/06/distribute-candies-to-people-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"distribute-candies-to-people-index-mapping","truth_value":"IN","reason":"premise"}]}}