News for hackers. Stuff that matters.
Re:On Interviewing Programmers by siscia on Thursday July 09, 2020 @02:37AM (#23777573)
It is not expecting Devs to know the foundamnetals, developer should know why it is faster to look for elements in an hash map than in a list. It is expecting to code an hash map from scratch in ten minutes on a whiteboard.

(And hash map are not even that difficult, but I got asked stuff much more complex than that...)

Re:On Interviewing Programmers by itsjzt on Thursday July 09, 2020 @05:49AM (#23778517)
Afaik best case of finding an element in a list is fast as anywhere else.
Re:On Interviewing Programmers by partyboat1586 on Thursday July 09, 2020 @09:30AM (#23779934)
Hash map is O(1), List is O(N). Unless it's a really small data set the hashmap will be faster. I don't think OP wanted best case.