Abstract

In doing the statistical analysis of a bubble-sort program [1], where all computing operations were of the same type, we observed that the statistical results tallied fairly well with the mathematical claim about the algorithm's computational complexity. In our next algorithm, the computing operations are not of the same type. We test and observe that the statistical measure of the algorithm's complexity, arguably more ‘realistic,’ does not tally with its mathematical counterpart.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call