MindLink Software interview question

String manipulation, factor in time complexity. Hashing.