Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How is sorting defined as (n+m) log(n+m)? Shouldn't it be nlogn +mlogm? #243

Open
tseth92 opened this issue Jul 18, 2019 · 1 comment
Labels

Comments

@tseth92
Copy link

tseth92 commented Jul 18, 2019

nlogn for drives and mlogm for keyboard. So, if you sort both independently, shouldn't it be mlogm+nlogn , instead of (m+n)log(m+n) ?

@RyanFehr
Copy link
Owner

RyanFehr commented Jul 18, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants