Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mjcohenw
on Jan 23, 2012
|
parent
|
context
|
favorite
| on:
Mathematically analyzing sorting algorithms
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].
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: