Meta Interview Question

String related problem