Super Reduced String

  • + 1 comment

    I agree StringBuilder and StringBuffer [both amortized O(n)] have better perfomace than string concanation [O(n^2)]. I just didn't modify my solution because of laziness.