+ 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 Resposta
+ 2
something like this
https://code.sololearn.com/c6OGXfgjM9MB/?ref=app