max-captured-forts-no-validation

Status: IN

`max_captured_forts` performs no input validation; it assumes all elements are in {-1, 0, 1} per the LeetCode contract and relies on only 0s existing between non-zero indices.

Source: entries/2026/06/06/maximum-enemy-forts-that-can-be-captured-solution.md

JSON