Qlue Interview Question

Remove duplicate words from the string