{"id":"max-captured-forts-anchor-greedy","text":"`last_non_zero` is updated on every non-zero element, not just on successful captures, ensuring the closest valid anchor is always used for future candidates.","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-anchor-greedy","truth_value":"IN","reason":"premise"}]}}