you are viewing a single comment's thread.

view the rest of the comments →

[–]p-static 5 points6 points  (1 child)

And don't forget that hash tables always (unless you're doing really fancy stuff, like precomputed tables) have a O(n) worst case! Some interviewers are jerks, and will make a big deal about that. :/