Re:Turn O(n^2) reverse into O(n)
by alok-g on Sunday December 15, 2013 @11:01PM
(#6912779)
Each time strings[i] is added to acc, it may require reallocating entire acc to new memory location with more memory for the concatenated string.
[ Parent
| on HN ]
There are no comments on this comment yet.