Simultaneous String Surgery
You are given a string `s` and three equally sized arrays. Entry `i` proposes a rewrite at position `indices[i]`: replace `sources[i]` with `targets[i]` only when `sources[i]` exactly matches the substring beginning there.