You are given an array a that contains N integers. All the integers in the array may not be distinct. The number of repetitions of each integer in the array is represented b