1. There are types of sequences for n different elements
2. Randomly choose 2 elements a and b, either a is larger than b or b is larger than a.
That means there are possibilities left. Then ......
3. Suppose that it needs times to decline to 1.
Calculate equation:
=
Get :
Because
Finally, we get the time complexity:
Therefore, the minimum time complexity of all the comparison-sort algorithms is