Loading...
Is this your company?
1. Count the duplicate words in a string
Anonymous
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.
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalised job recommendations and updates by starting your searches.