Question d’entretien chez Paycor

Make program to get duplicate words in array