Question d’entretien chez X

string manipulation program and remove duplicate words