3 ms·
The key insight you missed is that it doesn't matter how far away in the ASCII table a letter is. Just assigning a 0 distance if equal or a 1 if different, per
by snovv_crash 5y ago
The key insight you missed is that it doesn't matter how far away in the ASCII table a letter is. Just assigning a 0 distance if equal or a 1 if different, per character, would have made things a lot easier.