Question d’entretien chez Simplilearn Solutions

1. Count the duplicate words in a string

Réponse à la question d'entretien

Utilisateur anonyme

19 mai 2021

I have solved it using the map. By splitting the string into the array and checking if the word already exists in the map or not.