• Challenge Author
    + 1 comment

    Hi @blowkj, sorry can't find your solution.

    Common source of long execution is the complexity of + operator (or append method) for strings. It's of Appending two strings, one of length N, other of M, is of complexity O(N+M). Here it's repeatitive addition, so it can be of quadratic complexity.