{"id":"minimumcost-mutates-input-list","text":"`minimumCost` calls `cost.sort(reverse=True)` in place, reordering the caller's list as a side effect.","truth_value":"IN","source":"entries/2026/06/06/minimum-cost-of-buying-candies-with-discount-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"minimumcost-mutates-input-list","truth_value":"IN","reason":"premise"}]}}