What makes an algorithm fastLesson 2 of 11Free preview

Counting Tanvir's sort

Bubble sort on the first week’s seven orders: 21 comparisons and 12 swaps, against 14 comparisons for merge sort.