Pregunta de entrevista de Internet Brands

Time Complexity of algorithms, string manipulation