Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
Re: Just finished the fastest ever, general purpose sorting algorithm.
Posted:
Jan 6, 2013 8:49 PM
|
|
On Sunday, January 6, 2013 9:53:53 AM UTC-8, JT wrote: > It is not java it is JS if you can not manage copy paste the text into > a txt document, rename extension .html, doubleclick and press the > button to sort i am afraid you are beyond help.
What weight would you assign to the word "irrational"? If you assign it to the same weight as "irrationals" then how do you differentiate between the two words? If the index is in the range 256^11 so that each word up to 11 characters is assigned a unique weight then your output loop is going to take some time and will be quite uproductive for a page of text or even some 2000 words.
|
|
|
|