Given an array of integers, count the occurrences of each element and return the elements that occur more than 47 times.
Explanation: Both 11 and 23 occur 48 times in the array.
Explanation: Neither 7 nor 4 occur more than 47 times in the array.
Count occurrences of elements
No dry run loaded.
🚀 Practice this problem
Run code, get AI hints & track streak