Re:Mathematically analyzing sorting algorithms
by mjcohenw on Sunday January 22, 2012 @09:45PM
(#3498759)
The bubble sort has an off-by-one error: The outer loop has i go from 1 to A.length and then references A[i+1].
[ Parent
| on HN ]
There are no comments on this comment yet.