net-shift-collapse

Status: IN

All individual shift operations are collapsed into a single net displacement before any string manipulation, making the solution O(n + k) rather than O(n * total_shift_amount).

Source: entries/2026/06/06/perform-string-shifts-solution.md

JSON