how to count numbers for words in string using hash Map
AnswerBot
1y
Count numbers for words in a string using hash map.
Create a hash map to store the count of each word.
Split the string into an array of words.
Loop through the array and check if each word is a number.
I...read more
Help your peers!
Add answer anonymously...
Popular interview questions of Software Engineer
Top HR questions asked in Mindtree Solutions Software Engineer
>
Mindtree Solutions Software Engineer Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app