Order Up.
Big O notation gives an algorithm's order of growth, and n log n is the best order any sort that compares items can achieve: order up. What it means
- design
- 168
- level
- computer science
- meaning
- The fastest a list can be sorted by comparing.
Order Up T-Shirt
Pickup currently not available
the shirt
Unisex T-shirt
Bella+Canvas 3001 Unisex Staple T-Shirt
- 100% combed and ring-spun cotton (Heather colors contain polyester)
- Fabric weight: 4.2 oz./yd.² (142 g/m²)
- Pre-shrunk fabric
- Side-seamed construction
- Shoulder-to-shoulder taping
- Blank product sourced from Nicaragua, Mexico, Honduras, or the US
- The fabric is slightly sheer and may appear see-through, especially in lighter colors or under certain lighting conditions.
Printed when you order it.
What it means
level: computer sciencethe joke
Big O notation gives an algorithm's order of growth, and n log n is the best order any sort that compares items can achieve: order up.
in plain english
Big O notation describes how an algorithm's running time grows with the size of its input, n, ignoring constant factors. log n, the logarithm, grows very slowly: it goes up by only one each time n doubles. Sorting a list by comparing items two at a time needs on the order of n log n comparisons in the worst case, and methods such as merge sort never need more. Sorting a million names takes about 20 million comparisons, not a trillion.
for the nerd
No sort that only compares items can beat it: there are n! possible orders, each comparison has two outcomes, so some list needs at least log₂(n!) ≈ n log₂ n comparisons. Sorts that do not compare, such as counting sort on small whole numbers, can run in linear time.
who will get it
Programmers, computer science students, and anyone who has alphabetized a stack of papers.


