2 entries tagged algorithms, newest first.
A comparison answers one bit, so k of them tell apart at most 2 to the k orders — and five things can be in 120 orders, which six questions cannot separate. The bound is log2(n!), it is reached exactly up to eleven things, and at twelve it stops being reachable: the counting says 29 comparisons and 30 are needed.
A browser breaks a paragraph one line at a time and never looks back. TeX looks at the whole paragraph at once. Both run here on the same words, and the better one is checked against every arrangement there is.