3 ms·
however I did it I am sure I used (imported or not) hash tables or similar from stdlib (no algorithm complexity difference in this regard). But based on the co
by nudpiedo 8y ago
however I did it I am sure I used (imported or not) hash tables or similar from stdlib (no algorithm complexity difference in this regard).
But based on the comments from everyone it is reasonable to say that my implementation had something wrong or the test was off in some regard.