Status: IN
`max_captured_forts` captures both 1→(-1) and (-1)→1 movements in a single pass via a `!=` sign check between the current non-zero and the last-seen non-zero anchor.
Source: entries/2026/06/06/maximum-enemy-forts-that-can-be-captured-solution.md