+ 1
Count of Strings repeated in the given array.
Given an array, return a Map<String,Integer> with a key as String in an array and value as the number of times String is there in an array. String[âaâ,âcâ,âaâ,âdâ]â> Map{a:2,c:1,d:1}
1 Answer
+ 2
something like this
https://code.sololearn.com/c6OGXfgjM9MB/?ref=app