Back to Brain Tonic
AlgorithmsmediumBT-156
#156 Adversarial Sorting Lower Bound
An adversary watches your comparisons and chooses the outcomes to keep your algorithm running as long as possible. What's the minimum number of comparisons you need in the worst case for sorting n items?