X interview question

string manipulation program and remove duplicate words