English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Do you think someone may eventually create a logical "short circuit" technique that reduces the lower bound?

( I believe I am understanding the concept correctly, please correct me if I am inaccurate )

2006-07-18 01:57:25 · 3 answers · asked by rodneycrater 3 in Science & Mathematics Mathematics

3 answers

We already have. In the special case where the items to be sorted fall into a range which is small compared to the number of items to sort, we can use a pigeonhole sort, which runs in O(n) time. In the more general case, we can use radix sort, which runs in O(n·k) time, where k is the length, in bits, of the items to be sorted (whether this is faster than O(n·lg n) depends on the items to be sorted). You can find out more at the wikipedia links below.

2006-07-18 03:09:13 · answer #1 · answered by Pascal 7 · 0 0

Its starting to seem less and less likely. We've been stuck at O(N lg N) for a long time now. In the early days, new sorting algorithms were created quickly, each better than the last. I can't remember the last new algorithm that was created, so it seems like a pretty good bet, with the current technology, it won't be getting much better.

2006-07-18 09:02:34 · answer #2 · answered by Ian M 5 · 0 0

i vaguely remember a seminar in grad school where they said they achieved O(N log (log N))

i'll look at my old notes to see if i can dig up a reference

2006-07-18 10:16:59 · answer #3 · answered by cw 3 · 0 0

fedest.com, questions and answers