{"id":"distribute-candies-to-people-sqrt-time","text":"The distribution simulation runs O(sqrt(candies)) iterations because the sum 1+2+...+k reaches `candies` when k ≈ sqrt(2*candies), making it sublinear in the candy count.","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-sqrt-time","truth_value":"IN","reason":"premise"}]}}