Internet Brands interview question

Time Complexity of algorithms, string manipulation