|
-
February 8th, 2011, 08:39 PM
#1
Sorting faster than n log n?
Input is n integers, but we know that they cannot exceed 10 digits, i.e. the largest number is 10^10
How can we take advantage of this to beat O(n log n)? Obviously sheer bucket sort is out of the question with such large numbers, what else can I do to avoid doing a comparison sort such that I can beat O(n log n)?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|