5 ms·
Limited to around 11 character words/phrases. You can do better.
by geocar 10y ago
Limited to around 11 character words/phrases. You can do better.
- ouid 10y agoyeah, there's no reason to sort, you can just hash. but I'm not sure I can improve the asymptotic complexity of a comparison