The line `str = ch + str` is itself a linear-time operation, with time proportional to the length of the new string.
That linear-time operation is then additionally repeated `len` times
That linear-time operation is then additionally repeated `len` times
No comments yet.