2 ms·
Nice catch. I should eliminate the sorting on the input words anyways, but save the duplicates in the neighbors, i.e. cache the previous ones. It does not affe
by dclara 13y ago
Nice catch. I should eliminate the sorting on the input words anyways, but save the duplicates in the neighbors, i.e. cache the previous ones.
It does not affect the Big O level I mentioned in sorting of the word list loaded from the file. Looks like it's the necessary step.