Hi,
Please go through the solution
Number of comparisons done by computer per second = 10^8
Number of pairwise comparisons of 1,000,000 = 1000000*(1000000 - 1)/2 ~ 0.5* 10^12
Time taken by computer to do 0.5*10^12 pairwise comparisons = (0.5*10^12)/10^8 ~ 0.5*10^4 ~ 5000.
Regards,
Deepak
IITM Online Degree Team