Re:Hiring Is Broken: What Do Developers Say About Technical ...
by bsder on Friday August 16, 2019 @07:57PM
(#20720834)
> "Writing a hash table from scratch" is a programming 101 problem just slightly harder than FizzBuzz, but not by much.
No, it's bloody not.
What's your hash function? Why? What do you do on hash collisions. How many buckets and how big? Does your hash function map to identity or not? Do you exclude certain fields from hashing? How do you handle contention from multiple threads? I can go on and on.
The fact that you think writing a hash is easy betrays a stunning amount of ignorance.
Re:Hiring Is Broken: What Do Developers Say About Technical ...
by antisemiotic on Friday August 16, 2019 @08:09PM
(#20720890)
To be fair, the interview question a few posts up mentioned a working hash table, saying nothing about efficiency or thread safety. (though such a question could be gamed with a linked list as a "well akshuolly" a single-bucket hash table...)
Though I guess these days I guess 'software development' means downloading Javascript crap from github and copy-pasting CSS.