News for hackers. Stuff that matters.
Re:Why I Quit Google to Work for Myself by smsm42 on Wednesday February 28, 2018 @05:59PM (#16488045)
I don't think anybody does puzzles anymore. It's like 2000s thing. Are there still puzzle interview places left?
Re:Why I Quit Google to Work for Myself by dennis_jeeves on Wednesday February 28, 2018 @06:41PM (#16488346)
The last time I was interviewed by phone at Amazon, I was asked to write a binary tree to a file. Time given: 30 minutes. Does that count as a puzzle? Did lot's on exercises on binary trees before but was not prepared for that question.
Re:Why I Quit Google to Work for Myself by smsm42 on Wednesday February 28, 2018 @09:04PM (#16489108)
Nah, that sounds pretty simple - you just need to know how to walk a binary tree (basic knowledge) and how to write a string to a file (even more basic knowledge) - provided binary tree stores strings (and with right serializer, everything stores strings). Unless I am missing something. Don't think this qualifies as a puzzle. Puzzle would be something that requires non-trivial knowledge or exceptional insight to solve.
Re:Why I Quit Google to Work for Myself by cdelsolar on Wednesday February 28, 2018 @09:37PM (#16489233)
OK then do it on the phone with the interviewer looking at you as you're typing and your brain has suddenly blanked. I've been coding since I was 9 years old, have a massive (relatively) side project with a couple hundred users, have shipped multiple projects in multiple jobs, and I know what a binary tree is and how to traverse one, but I'll be damned if I can figure out how to do it under those conditions. I absolutely hate interview questions where they make you code on the spot. Just look at my Github, I swear I wrote that code.
Re:Why I Quit Google to Work for Myself by bobthepanda on Wednesday February 28, 2018 @09:46PM (#16489270)
That's not a puzzle, though. A puzzle would be something barely related to computer science, like "How can I find which ball out of 9 is heavier weighing them twice on a two-sided scale?"
Re:Why I Quit Google to Work for Myself by projektir on Thursday March 01, 2018 @12:13AM (#16489837)
I think this is a bit pedant. It's fairly common for developers to call questions like these puzzles.
Re:Why I Quit Google to Work for Myself by smsm42 on Friday March 02, 2018 @01:37AM (#16499580)
Basic algorithmic knowledge questions are not puzzles, and whoever is calling them that is wrong. Those questions still can be stressful, especially for people that don't do well in interview environment, but puzzle is something else. Puzzle is something that requires some non-trivial insight or trick to solve, usually one that the person has no experience with and it is not obvious even for a person with the knowledge of the basics. That's why they are puzzles - they are "puzzling", which the dictionary defines as "confusing" or "baffling".
Re:Why I Quit Google to Work for Myself by dennis_jeeves on Friday March 02, 2018 @04:49PM (#16506071)
I forgot to mention the key part of the task. The key was to constitute the tree back by reading it from the file. The writing part is trivial, the reconstitution part is not. Try it. While not impossible for a decent programmer half an hour is not sufficient who does not deal with binary trees ona daily basis.