Domanda di colloquio di Fidelity Investments

Write program to find duplicate words in string