News for hackers. Stuff that matters.
Re:Anagram Scoring by ouid on Tuesday February 21, 2017 @05:20PM (#13700613)
Map a-z to the first 26 primes, multiply and then quicksort your dictionary.
Re:Anagram Scoring by geocar on Wednesday February 22, 2017 @01:09AM (#13703434)
Limited to around 11 character words/phrases. You can do better.
Re:Anagram Scoring by ouid on Friday February 24, 2017 @02:53PM (#13727154)
yeah, there's no reason to sort, you can just hash. but I'm not sure I can improve the asymptotic complexity of a comparison