employer cover photo
employer logo
employer logo

Simplilearn Solutions

Is this your company?

Simplilearn Solutions interview question

1. Count the duplicate words in a string

Interview Answer

Anonymous

19 May 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.