{"id":"assign-cookies-zero-extra-space","text":"The two-pointer algorithm uses O(1) auxiliary space beyond the in-place sort — no heaps, hash maps, or copied arrays.","truth_value":"IN","source":"entries/2026/06/06/assign-cookies-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"assign-cookies-zero-extra-space","truth_value":"IN","reason":"premise"}]}}