Pergunta de entrevista da empresa eBay

One of questions was from Java. To write code that will count the the duplicate numbers. And Selenium to write code that will give me word that starts with C from list elements.