Adobe Interview Question

Write code to identify duplicate words in a list of words.