4 ms·
I like using the Blum Mental Hash as an interview question. As far as I can tell, it's not mentioned in any interview cram lists, and it's complex enough to see
by cjohnson318 7y ago
I like using the Blum Mental Hash as an interview question. As far as I can tell, it's not mentioned in any interview cram lists, and it's complex enough to see how candidates split up a problem.
https://scilogs.spektrum.de/hlf/mental-cryptography-and-good-passwords/ https://scilogs.spektrum.de/hlf/mental-cryptography-and-good...
- Waterluvian 7y agoThat looks fun. Do you require them to know trivia or do you provide them with the definition and ask for an implementation?
- cjohnson318 7y agoI explain how it works first and then ask for an implementation. I look for sane code organization, correctness, and an awareness of Pythonic idioms if it's a Python heavy role.
- banachtarski 7y agoIt feels really easy? Or am I misunderstanding the algorithm/question?
- cjohnson318 7y agoIt's not rocket science, no. I wanted something that could be done rather quickly, that would generate a fair amount of code, that wouldn't require any recursive tricks or discrete math. From there, I can usually look at their code and make a determination.