![]() |
Rubik's Cube I always give my interviewee a Rubik's Cube I keep on my desk, and ask him to attempt to solve it.
The Oracle
This sounds like a classic example of the "see how smart *I* am" interview question.
Don
You can't just solve it by remembering the sequence of move, of couse I'm gonna ask you some kind of implementation. If he's able to solve it by heart and
theOracle
This relates to programming, how? Tell him to explain hash tables, linked lists, stacks, queues, trees, etc. Maybe make him take a weighted graph and build a shortest path algorithm in C.
Qbert
TheOracle seems an arrogant prick. Exactly the boss no human needs.
Colin Dowell
TheOracle, is it a 2x2x2 Rubik's cube which you can solve in 40secs?
Tapori
There's nothing wrong with asking people to try to come up with an idea for an algorithm to solve a rubik's cube right off the top of their head. Gets them thinking. The only people I know of who would seriously try to intimate that this has nothing to do with coding are what I'd term 'code monkeys'. People who don't have any real skill at solving logical problems, they really only know how to write code to implement someone elses existing solution to a problem. ie., they aren't the brains behind the operation.
Brian
Nothing wrong with having someone think about how to solve a Rubik cube, and describe their thinking aloud. However just throwing them the cube and asking them to solve it is not going to get you good programmers. The only thing that will tell you is whether they have spent a lot of time working with Rubik cubes before, and that doesn't correlate.
David Clayworth
Ha ha, good one.
TheOracle
|