Sorting nlog(sqrt(n))
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
A researcher claimed that she discovered a comparison-based sorting algorithm that runs in $O(nlog(sqrtn))$. Given the existence of an $Omega(nlog(n))$ lowerbound for sorting, how can this be possible?
Hint: It is possible. Don't waste time trying to disprove it. Just show why it is possible.
algorithms
New contributor
add a comment |Â
up vote
1
down vote
favorite
A researcher claimed that she discovered a comparison-based sorting algorithm that runs in $O(nlog(sqrtn))$. Given the existence of an $Omega(nlog(n))$ lowerbound for sorting, how can this be possible?
Hint: It is possible. Don't waste time trying to disprove it. Just show why it is possible.
algorithms
New contributor
1
$n , logsqrtn = frac12n , log(n)= Omega(n ,logn)$. There's only a constant factor difference.
â Gokul
3 hours ago
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
A researcher claimed that she discovered a comparison-based sorting algorithm that runs in $O(nlog(sqrtn))$. Given the existence of an $Omega(nlog(n))$ lowerbound for sorting, how can this be possible?
Hint: It is possible. Don't waste time trying to disprove it. Just show why it is possible.
algorithms
New contributor
A researcher claimed that she discovered a comparison-based sorting algorithm that runs in $O(nlog(sqrtn))$. Given the existence of an $Omega(nlog(n))$ lowerbound for sorting, how can this be possible?
Hint: It is possible. Don't waste time trying to disprove it. Just show why it is possible.
algorithms
algorithms
New contributor
New contributor
edited 3 hours ago
Thinh D. Nguyen
3,45111468
3,45111468
New contributor
asked 3 hours ago
confucius_did_shrooms
61
61
New contributor
New contributor
1
$n , logsqrtn = frac12n , log(n)= Omega(n ,logn)$. There's only a constant factor difference.
â Gokul
3 hours ago
add a comment |Â
1
$n , logsqrtn = frac12n , log(n)= Omega(n ,logn)$. There's only a constant factor difference.
â Gokul
3 hours ago
1
1
$n , logsqrtn = frac12n , log(n)= Omega(n ,logn)$. There's only a constant factor difference.
â Gokul
3 hours ago
$n , logsqrtn = frac12n , log(n)= Omega(n ,logn)$. There's only a constant factor difference.
â Gokul
3 hours ago
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
As a set of functions $mathbbNlongrightarrowmathbbN$, $O(nlog(sqrtn))=O(nlog(n))$.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
As a set of functions $mathbbNlongrightarrowmathbbN$, $O(nlog(sqrtn))=O(nlog(n))$.
add a comment |Â
up vote
3
down vote
As a set of functions $mathbbNlongrightarrowmathbbN$, $O(nlog(sqrtn))=O(nlog(n))$.
add a comment |Â
up vote
3
down vote
up vote
3
down vote
As a set of functions $mathbbNlongrightarrowmathbbN$, $O(nlog(sqrtn))=O(nlog(n))$.
As a set of functions $mathbbNlongrightarrowmathbbN$, $O(nlog(sqrtn))=O(nlog(n))$.
answered 3 hours ago
Thinh D. Nguyen
3,45111468
3,45111468
add a comment |Â
add a comment |Â
confucius_did_shrooms is a new contributor. Be nice, and check out our Code of Conduct.
confucius_did_shrooms is a new contributor. Be nice, and check out our Code of Conduct.
confucius_did_shrooms is a new contributor. Be nice, and check out our Code of Conduct.
confucius_did_shrooms is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcs.stackexchange.com%2fquestions%2f99307%2fsorting-nlogsqrtn%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
$n , logsqrtn = frac12n , log(n)= Omega(n ,logn)$. There's only a constant factor difference.
â Gokul
3 hours ago