reverse-str-ii-stride-pattern

Status: IN

`reverseStr` uses `range(0, len(chars), 2*k)` to step through windows, reversing only `chars[i:i+k]` — the second half of each window is left untouched implicitly by never selecting it.

Source: entries/2026/06/06/reverse-string-ii-solution.md

JSON