{"id":"anchor-tracking-pattern-shared","text":"The \"last-seen non-zero\" anchor-tracking idiom appears in both `max_captured_forts` and `countHillValley` — skip irrelevant elements, compare the current significant value to the previous one.","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":"anchor-tracking-pattern-shared","truth_value":"IN","reason":"premise"}]}}