Numbers with prime frequencies greater than or equal to k
Given an array, find elements that appear a prime number of times in the array with a minimum k frequency (frequency >= k). Examples : Input : int[] arr = { 11, 11, 11, 23, 11, 37, 51, 37, 37, 51, 51, 51, 51 }; k = 2 Output : 37, 51 Explanation : 11's count is 4, 23 count 1, 37 count 3, 51 count