Cisco Interview Question

Read a file and Print all the words that repeat