logoalt Hacker News

Epa095yesterday at 7:24 PM1 replyview on HN

Usually when one talk about sorting, without specifying closer, one means comparison sort [1], which indeed has an average-case lower bound of O(n*log(n)). In more special cases all kinds of other runtimes are possible.

1: https://en.wikipedia.org/wiki/Comparison_sort


Replies

jalacirayesterday at 7:42 PM

[dead]