Fidelity Investments interview question

Program to find duplicate words in a sentence