{"id":"max-captured-forts-linear-time","text":"`max_captured_forts` runs in O(n) time with a single pass and O(1) auxiliary space, using an anchor-tracking scan over non-zero elements.","truth_value":"IN","source":"entries/2026/06/06/maximum-enemy-forts-that-can-be-captured-solution.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"max-captured-forts-linear-time","truth_value":"IN","reason":"premise"}]}}