TL;DR: Replace `s_0`

with `s_1`

, `s_1`

with `s_2`

and so on (assuming the largest number to
replace is less than 26):

```
s/s_\(\d\+\)/\='s_'.(nr2char(97+submatch(1)))/g
```

A mixture of Computer Science and Software engineering related writings, study notes, book reviews and general ramblings. Opinions are my own - enjoy!

TL;DR: Replace `s_0`

with `s_1`

, `s_1`

with `s_2`

and so on (assuming the largest number to
replace is less than 26):

```
s/s_\(\d\+\)/\='s_'.(nr2char(97+submatch(1)))/g
```

A solution and, importantly, a proof for LeetCode Problem 11 - Container with Most Water.