Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ Moderated > Re: Efficient s...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 5 Topic 9530 of 9828
Post > Topic >>

Re: Efficient sorting

by Markus Moll <markus.moll@[EMAIL PROTECTED] > Apr 24, 2008 at 03:19 PM

Hi

Martin York wrote:

> There are multiple sorts available (do a google on sorting
> algorithms), The most optimal sort is called a bucket sort. Under
> optimal conditions has a complexity of O(n).

However, I think that one should add that O(n) can only be achieved
because
bucket sort imposes restrictions on the input and that in general the
lower
bound is Omega(n log n).

Markus


-- 
      [ See http://www.gotw.ca/resources/clcm.htm
for info about ]
      [ comp.lang.c++.moderated.    First time posters: Do this! ]
 




 5 Posts in Topic:
Efficient sorting
"C++ Newbie" &l  2008-04-22 15:21:08 
Re: Efficient sorting
Thomas Maeder <maeder@  2008-04-22 22:19:12 
Re: Efficient sorting
Martin York <Martin.Yo  2008-04-23 13:10:25 
Re: Efficient sorting
Markus Moll <markus.mo  2008-04-24 15:19:37 
Re: Efficient sorting
"Jeff Baker" &l  2008-04-25 03:39:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 15:38:53 CDT 2008.