Programming Project: Iterative List Merge Sort

and thus any sorting algorithm must do at least that much work. Merge sort is close to optimal! Consider n = 5, insertion sort does 10 comparisons, mergesort does 8 but lg 5! = lg 120 = 7, hence the lower bound is better than merge sort does. Try to find a sort of 5 keys in 7 comparisons in worst case. Section 4.7.3 Lower bound for Average Behavior ................
................