sir
i want to know that while we calculate the reduction factor in the bin concept , why dont we take into consideration those comparisons that were made while we were binning objects .
For EXAMPLE,
if we bin 1000 objects into 10 bins of equal size, the number of comparisons within those bins =49,500,ie, 10*(100*99)\2.
the number of comparisons to bin the items into the 10 bins ranges from [1000,10000] when we use the if-else if concept.
Therefore,
We need to add the two 49500+[1000,10000].
Without binning, the total comparisons are 4,99,500
HENCE, the reduction factor in this case should not be 10 in the real sense but less than it since the denominator is greater than 49500.
please help me out