4 ms·
It's not a premature optimisation to use a hashset instead of a list though!
by Cakez0r 6y ago
It's not a premature optimisation to use a hashset instead of a list though!
- ufo 6y agoThe bug is more devious than that. The code looks linear at a glance and the culprit is that sscanf is actually O(N) on the length of the string. How many people would expect that?