I have a histogram which shows the frequency of elements in a set. I'd like to add minimum number of elements to the set such that the histogram of the set as defined above becomes fairly uniform. Is there any efficient method that allows me to do it with minimum added elements? Some limited peaks in the uniform histogram is also acceptable but majority of the bins in the final histogram should be fairly uniform.
Thx