What would Feynman do? (2011)
blogs.msdn.com
blogs.msdn.com
As it turns out, he was mostly right!
Straight from the man himself. Page 79 of [PDF warning] http://buffman.net/ebooks/Richard_P_Feynman-Surely_Youre_Jok...
Nobody mentioned Feynman's work for "Thinking machines" A couple more Feynman computing links: https://www.youtube.com/watch?v=EKWGGDXe5MA http://www.scribd.com/doc/52657907/Feynman-Lectures-on-Compu...
Feynman was amazingly good at giving serious smackdowns in a convivial way. He would be cheerful, accepting and charming while creating a logical argument that was almost always faultless.
He had some negatives, but I think he was one of the most amazing people to have ever lived. I encourage everyone out there to read and watch his publications and lectures. From grad student til death, he forced people to rethink the hardest and most important problems around, and he had fun doing it.
He was also a prankster, a lock-picker and safe-cracker, and apparently a pretty good musician.
</hero_worship>
When inevitably someone came to my desk and asked why I was violating procedure, I would say that my way was simpler and more efficient than the alternatives, and therefore saves the company time and money. I would then offer to change my behavior if they had a better solution to the problem.
This is a management problem, not a logic problem.
> Feynman worked out the program for computing Hopfield's network on the Connection Machine in some detail. The part that he was proudest of was the subroutine for computing logarithms. I mention it here not only because it is a clever algorithm, but also because it is a specific contribution Richard made to the mainstream of computer science. He invented it at Los Alamos.
http://longnow.org/essays/richard-feynman-connection-machine...
Here's another telling of the story
http://www.mphpa.org/classic/HISTORY/H-06c18.htm
The new IBM punched-card machines were devoted to calculations to simulate implosion, and Metropolis and Feynman organized a race between them and the hand-computing group. "We set up a room with girls in it. Each one had a Marchant. But one was the multiplier, and another was the adder, and this one cubed, and all she did was cube this number and send it to the next one," said Feynmann. For one day, the hand computers kept up: "The only difference was that the IBM machines didn't get tired and could work three shifts. But the girls got tired after a while."
Feynmann worked out a technique to run several calculations in parallel on the punched-card machines that reduced the time required. "The problems consisted of a bunch of cards that had to go through a cycle. First add, then multiply, and so it went through the cycle of machines in this room - slowly - as it went around and around. So we figured a way to put a different colored set of cards through a cycle too, but out of phase. We'd do two or three problems at a time," explained Feynman. Three months were required for the first calculation, and Feynman's technique reduced it to two or three weeks.
In my opinion, this looks like the sort of question originally posed by some pointy-haired type who had been reading too much 90s "Lateral Thinking" style pop lit.
Can you imagine hiring a surgeon, or a civil engineer, or, hell, a mechanic or carpenter based on brain-teaser questions? Nope. The interviewee would look at you like you'd grown an extra head, and probably start trying to figure out a way to bring the interview to an early end.
As such, they have nothing to do with reasoning ability. The "correct" answer is often completely wrong, like the claim that access hole covers are round "so they don't fall in", which misses the important point entirely. A circle is the minimum size cover that can't be dropped into the hole it covers. Make the cover twice as big as the hole and you have no problem. It is only under the common but special case of resource constraints that round covers are compelling.
There was also that ridiculous one about "how do you put an elephant in a refrigerator" where the "correct" answer depended on not knowing the difference between the definite and indefinite articles. The next question was "How do you put a giraffe in a refrigerator" and the "correct" answer was "You open the refrigerator, take out the elephant, and put in the giraffe". No one who was actually conversant with English could pass the test.
Don't tell me someone has used that as an interview question? That's a silly kids joke, after which you'd laugh childishly. There even was a follow up question, if an elephant and a giraffe would race, who'd win to give the other guy a chance to redeem himself.
The joke works a lot better with languages without definite and indefinite versions of nouns, like Finnish, and you mess up the joke with english where using the definite preposition would ruin the joke, and the indefinite form is not honest.
There is in fact a class of shapes that have the property that they can't fall into the hole which they cover (presuming a lip).
In addition to the above reason about it being the most efficient way to cover a hole, a round cover is also easy to move if heavy (you can roll it), very useful for something that likely has to be sturdy but also move-able.
Those measures were better than nothing, but not better than a good measure.
Edit, because I want to amplify on this a bit.
In the absence of any other measure, I'm willing to believe that someone who's good at brain teasers is somewhat more likely to be a good programmer than someone who isn't (though the correlation isn't going to be perfect, by any means).
The thing is that I can also believe that someone who's good at brain teasers is more likely to be a good surgeon or mechanic than someone who isn't.
Yet we don't use this type of question when we're interviewing surgeons or mechanics. Why not?
Edit: I don't mean to suggest that I think these kinds of questions are good for hiring software engineers, just that your argument for why that isn't the case may have some holes in it.
I wonder if interviewers are still asking that question in the era of LED lamps.
In practice, this is the right answer: http://www.zircon.com/products/electrical-breaker-id-pro.htm...
He's another New Yorker, from the South Bronx, helped start String Theory back in the 60's or 70's. He has lots of stuff online: http://theoreticalminimum.com/
You might look at this question as a means to discern whether or not you are a team player.