three-consecutive-odds-positive-only-modulo

Status: IN

`threeConsecutiveOdds` checks oddness via `num % 2 == 1`, which is correct only for non-negative integers; negative odds yield `-1` from `%`, but the problem constraint `1 <= arr[i] <= 1000` makes this safe.

Source: entries/2026/06/06/three-consecutive-odds-solution.md

JSON