4 ms·
Note this is out of 20K anagrams. Here's my code: https://github.com/brlewis/brlewis.github.io/blob/master/2018/anag.js https://github.com/brlewis/brlewis.gith
by brlewis 8y ago
Note this is out of 20K anagrams.
Here's my code: https://github.com/brlewis/brlewis.github.io/blob/master/2018/anag.js https://github.com/brlewis/brlewis.github.io/blob/master/201...
On my machine, Fundamental Theorem of Arithmetic finished in 1.703 seconds, sorting letters in 1.954 seconds.