Imagine that you have an array, words, of one-word strings, some of which might be duplicates. Write a static method that accepts the array as an argument and counts the number of times each word occurs in the array. The method should return an array, counts, of these counts such that words[i] occurs counts[i] times.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here