Slashdot Mirror


Are Brain Teasers Good Hiring Criteria?

theodp writes "Your brain teaser prowess may win you a job at Google, but the folks at 37signals don't hire programmers based on puzzles, API quizzes, math riddles, or other parlor tricks. 'The only reliable gauge I've found for future programmer success,' explains 37signals' David Heinemeier Hansson, 'is looking at real code they've written, talking through bigger picture issues, and, if all that is swell, trying them out for size.'" Those of you who have hired employees: have you seen correlation between interview puzzle success and job competency? How should an interviewee best handle these questions?

29 of 672 comments (clear)

  1. Well, they're a good indicator of intelligence by elrous0 · · Score: 5, Insightful

    If someone is giving you one, they're probably not very intelligent.

    --
    SJW: Someone who has run out of real oppression, and has to fake it.
    1. Re:Well, they're a good indicator of intelligence by dgun · · Score: 5, Funny

      I agree. But I would prefer a puzzle to questions like "where do you see yourself in 5 years" and "what are your goals". I want to answer "My goal is to get hired. Why else would I answer such stupid questions?"

      --
      FAQs are evil.
    2. Re:Well, they're a good indicator of intelligence by ILongForDarkness · · Score: 5, Insightful
      Perhaps. The article says "looking at real code" is better. Again perhaps. For example the problem there is: did they really write the code, if so how long did it take? Did someone else suggest fixes etc? You don't know. I mean 300 lines of beautiful C is all fine and dandy but if it took you 3 months to write it and half of it is cut and pasted from the web how good is it really?

      What brain teasers hopefully do is take a problem close to the types of things you see in the job. Even though it is all programming different companies either due to industry or existing infrastructure/policies tend to have different types of coding "puzzles" that come up again and again. Hopefully this test problem is one you haven't seen before and they get to see how you approach something you don't already know how to solve, how close to a good design do you get on the first interation, if they point out a problem how you go about fixing it etc. All real world important stuff to know about someone.

    3. Re:Well, they're a good indicator of intelligence by jimbolauski · · Score: 5, Insightful

      I agree. But I would prefer a puzzle to questions like "where do you see yourself in 5 years" and "what are your goals". I want to answer "My goal is to get hired. Why else would I answer such stupid questions?"

      Those questions are more pertinent to MBA's where your ability to pile on BS in a believable way is an important skill.

      --
      Knowledge = Power
      P= W/t
      t=Money
      Money = Work/Knowledge so the less you know the more you make
    4. Re:Well, they're a good indicator of intelligence by w_dragon · · Score: 5, Insightful

      The 5 years question is really just asking if you intend to move up the management or technical ladder. If I'm looking for someone who may eventually become a software architect and a candidate tells me they want to be a VP in 5 years I may think twice before hiring them.

    5. Re:Well, they're a good indicator of intelligence by Anonymous Coward · · Score: 5, Interesting

      Yet when the people hiring are other programmers or (as in my case) artists, they still feel the need to ask these questions because that's how they THINK they should be interviewing people.

      How do you think I got my job? I BSed my way through their stupid questions and when they finally asked pertinent programming questions I answered intelligently. From what they told me afterwards most people managed to BS the first set and failed on the second.

    6. Re:Well, they're a good indicator of intelligence by asliarun · · Score: 5, Insightful

      If someone is giving you one, they're probably not very intelligent.

      I completely disagree, or at least, your statement is so broad it is untrue.

      Brain teasers are just like any other interviewing tool - what matters is how you use the tool.
      As an interviewer, if you use brain teasers to determine *how* the candidate is attempting to solve the problem, you are probably doing it right.
      If you are using the brain teaser to tick a box in your checklist based on the answer, you're probably doing it wrong.

      The really neat thing about brain teasers or puzzles or the bizarre questions you sometimes encounter like "How many pigeons are there is Manhattan" is that they are a very good way to judge someone's unstructured problem solving ability. How someone approaches this kind of a problem is a good proxy for their ability to debug hard technical issues or their problem solving ability in general.

      Making a statement like "hire a programmer based on their programming ability" is also an obvious statement to make, apart from being a bit grandiose (look at us , we are cool because we are contrarians and we swim against the tide). The reason why many interviewers resort to other techniques is two fold - one, lack of time or other constraints that prevent the interviewer from directly testing a programmer's programming ability, and secondly, judge the non-programming aspects of the candidate like how they react to an ill-defined problem or a fuzzy situation, how well they will get along with others, how much of a self-starter they are etc.

      Or, if I put it another way, if you are not hiring a programmer on the, to quote, "code they have written", what are you doing, hiring candidates on their baking skills? I get what 37signals is saying and all this got messed up to begin with when HR took over the interviewing process from programmers (especially in large companies). However, the other statements that are flying around about how *any* non-programming related question is stupid is also frankly, over the top.

    7. Re:Well, they're a good indicator of intelligence by ShieldW0lf · · Score: 5, Interesting

      God I always hate those fucking questions. "Why did you chose to apply with us?" Because I need a fucking job! Why else do people apply for a job? Why is that not enough? "Where do you see yourself in five years?" Uh, gainfully employed? Do my life goals really matter to whether or not I can fill this position? What if I saw myself working at the fucking circus in five years, would that have a bearing on whether or not I was hired? Why? "What are your goals?" To make enough money to pay my bills with a little left over for fun once in a while? Is that too mundane?

      Man, I despise interviews. I fantasize about going all Peter Gibbons in Office Space every time someone asks me one of these stupid, irrelevant questions, but my sense of self-preservation reigns in those crazy ideas.

      Personally, when someone asks me why I chose to apply with them, I've got a very good reason. When someone asks me "Where do you see yourself in 5 years", I tell them the truth, and then I ask them what they will do to help me get there. If they answer wrong, I walk. And when they ask me to engage in meaningless work so they can judge me, I tell them they're welcome to judge my portfolio, but if they want me to start problem solving, the meaningless of the task is irrelevant... they're still going to have to pay for it.

      You can weed out most bad employers in this way. Not all of them, but most. It helps if you have 3 months salary in reserve for emergencies like you should so you don't end up entering a bad situation out of desperation.

      --
      -1 Uncomfortable Truth
    8. Re:Well, they're a good indicator of intelligence by JoeMerchant · · Score: 5, Interesting

      There's a technical ladder? Anywhere I've ever worked, it's more like a stool - start a decent distance off the floor, then go nowhere.

    9. Re:Well, they're a good indicator of intelligence by MagusSlurpy · · Score: 5, Funny

      Go nowhere? You can always get too excited and knock the stool over!

      --
      My sister opened a computer store in Hawaii. She sells C shells by the seashore.
    10. Re:Well, they're a good indicator of intelligence by Frohboy · · Score: 5, Funny

      I agree. But I would prefer a puzzle to questions like "where do you see yourself in 5 years" and "what are your goals". I want to answer "My goal is to get hired. Why else would I answer such stupid questions?"

      I believe Mitch Hedberg said that to "Where do you see yourself in 5 years?" in an interview, he replied, "Celebrating the fifth anniversary of you asking me that question!"

    11. Re:Well, they're a good indicator of intelligence by Anonymous+Brave+Guy · · Score: 5, Insightful

      The 5 years question is really just asking if you intend to move up the management or technical ladder.

      Then why not just ask that directly? It might lead to a mutually interesting conversation, and at the very least you're either both going to be more confident in your fit or both going to know immediately that it's not going to work out.

      These are my personal interview red flags for a software developer job, starting with the most likely to result in me throwing the interview/leaving early/declining any offer:

      1. Hiring is based on brain teasers, $-based certifications, or other similarly irrelevant criteria.
      2. Wants to know my current salary. (Bonus point: Doesn't give any indication at the same time of the likely compensation if I'm offered the job. Extra bonus point: Makes clear that the salary range given in the job ad was wildly optimistic.)
      3. Won't show me an example of their production code, real documentation, etc. when given a reasonable opportunity to do so.

      In each case, someone is skirting what matters, instead of finding out as fast as possible whether we are really a good fit and a mutually satisfactory hire might result.

      --
      If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
    12. Re:Well, they're a good indicator of intelligence by Anonymous Coward · · Score: 5, Insightful

      Same for 'why do you want to work here." "Because I need a paycheck?" Seriously? Look, we all laugh at Wally in the Dilbert strips, but I'm sure as hell not going to knowingly hire one.

      You can delude yourself all you want, but ultimately people get jobs because they need the money. Most of us would love just to lounge around with no real responsibilities in life if we could, but we need to eat, clothe, and house ourselves. So hence, the job.

      That isn't to say that some jobs are more fun or better/worse than others, but don't pretend that economic incentive isn't the primary reason why we look for jobs.

    13. Re:Well, they're a good indicator of intelligence by mpsmps · · Score: 5, Interesting

      Actually, many large companies have parallel engineering and management ladders. The goal of this is to allow your best technical people to advance as individual contributors without moving into management (which they may not be their strength anyway) For example, at my company, Architect and Director have identical HR classifications. Likewise for Fellow and Vice President. If you are not advancing as a technical employee, you should look at yourself, just like if you were not advancing as a manager.

    14. Re:Well, they're a good indicator of intelligence by __aagbwg300 · · Score: 5, Funny

      Or do what other primates do and fling your stool!

    15. Re:Well, they're a good indicator of intelligence by maple_shaft · · Score: 5, Insightful

      Wow, you really hate whiteboarding don't you? I am so completely the opposite of you that I must respect your opinion because I can't relate to it at all.

      Whiteboarding conveys a few things, a high level of spatial intelligence required for diagramming and modeling complex problems visually. It also is an accessory to communication about a complex design or process that a group of colleagues or lay people wish to know more about. If a candidate is whiteboarding a process for me and he silently doodles on the board then that is a problem. You are supposed to talk through the problem primarily and cement your ideas in on the board so that everybody can see a visual summary of your explanation.

      The fact that you despise it means that you completely fail to understand why somebody wants an engineer who can whiteboard. It is a sign of an individual who can communicate and discuss problems on multiple facets, while somebody who just wants to demonstrate skill by typing in a text editor tells me that this person doesn't care about communicating or discussing complex ideas, they just want to showcase their skill.

      You may be extremely productive writing software or some such engineering activity, but you seem like an extremely low-level task oriented person and that is not what most companies want. We want critical thinkers who engage in higher level design, thought, and communication. They don't want cowboy coders. They don't want a lone wolf.

    16. Re:Well, they're a good indicator of intelligence by Anonymous Coward · · Score: 5, Funny

      Or do what other primates do and fling your stool!

      That only happens at Microsoft.

    17. Re:Well, they're a good indicator of intelligence by ifiwereasculptor · · Score: 5, Funny

      "Where do you see yourself in five years?"

      This is a particularly fun question to answer. My suggestion is that you grab a nearby sheet of paper and start calculating right away, so after weird two minutes during which the interviewer will be pretty confused, you can say something like "well, exactly five years from now will be a saturday, and at precisely this time on saturdays I'm usually at the supermarket. Considering my shopping routine and the time I usually get there, I'll probably be at the frozen foods section. Leap years have already been factored. Now if your question wasn't really that specific and you only wanted a general idea, I can redo the math by adopting a standard year as a sequence of 360 days."

      Full disclosure: I'm unemployed.

  2. I had a hedge fund ask me physics problems by WOOFYGOOFY · · Score: 5, Interesting
    I had a hedge fund ask me a physics puzzler problem for a job as a Java developer.

    Needless to say unless you spend time puzzling over this specific type of problem you don't have the skills to answer them.

    The impression I had was they were going through a dog and pony show of "trying to find a candidate" for their position. I am not sure what they were up to. Whatever it was, they weren't looking for a candidate for the advertised position.

    There was an absolute reek of duplicity, insincerity and dishonesty about every single employee I met on that interview, starting with the prostitute-cum-receptionist who greeted me to the project manager who wouldn't look me in the eye to the interviewer who looked over my resume (which had only a distant physics class) and said "we're not going to ask you about programming, I can see you've got that down, we want you to solve some puzzles" and sprang on me some physics puzzles I could only solve if I were a physics major.

    I couldn't wait to get out of there.

    I saw that ad for a few more months online. I always wondered what they were up to.

    1. Re:I had a hedge fund ask me physics problems by Anonymous Coward · · Score: 5, Informative

      I work as a quant in the hedge fund industry and use puzzles in the reverse way described here to weed out physics and math/finance majors that can't program well enough. I give them a programming puzzle (rather than a physics or math puzzle) and grade their performance. I am usually not hiring these people for their programming skills but I cannot afford having a math whiz that requires support from professional programmers in order to be productive. The most productive quants in my industry are the ones who are also programming whizzes.

  3. Puzzles aren't to test programming skills by joshamania · · Score: 5, Insightful

    The brainteasers are there to see if someone is smart. Could the employee escape from a paper bag if necessary? I'd say these puzzles are important for finding creative problem solving and would be just as useful if not more useful in a manufacturing/fabrication/maker type of job.

    Think of that American drilling team that drilled the hole to free the Chilean miners. That engineer's rig wasn't meant to do what he did with it. Can't aim it? He aimed it with a hack. Hole's plugged? Fixed it with a hack? Don't have a 28" drill head for this rig? Let's hack one together in a week. If that guy with the big brain didn't pick up the phone and say "hey"...those 33 guys would probably have been entombed for half a year if not forever.

    Dude did it in one month with a toolbox full of hacks. Fucking brilliant.

    1. Re:Puzzles aren't to test programming skills by jythie · · Score: 5, Interesting

      The problem with brain teasers is they do not test if someone is smart or if they will be able to hack a situation.. they test how well the subject metathinks the test creator. They are artificial situations where the test creator has thought of both a problem and solution, and really only tests if the subject is good at figuring out how the test writer's mind works. It is kinda like reading a mystery novel... you are not solving a mystery, you are solving a writer's thought pattern.

  4. Re:It's important to understand by Anonymous Coward · · Score: 5, Informative

    Google isn't giving brain teasers to find good programmers.

    Google does *not* give brain teasers for engineering positions, and haven't been for the last 5+ years.
    The WSJ article is based on urban legends, and *very* dated information.

  5. My thoughts and reply by ircmaxell · · Score: 5, Interesting

    I actually wrote a blog post on this very subject this morning (I pushed up the publishing when I saw this). The post

    In short, I disagree. I find brain teasers invaluable. But not in determining skill, but in determining personality and how a candidate behaves when they are faced with a challenge that they aren't familiar with...

    --
    If a man isn't willing to take some risk for his opinions, either his opinions are no good or he's no good
  6. Re:It's important to understand by jythie · · Score: 5, Insightful

    Actually, I would wager they are giving brain teasers as an amusing way to cut down the number of applicants. I think programmers and hiring managers tend to like the questions because they are fun to give, but they are also a quick way to sort through people who look pretty similar on paper. When you have that kind of application volume, figuring out how to reduce it becomes pretty important for one's sanity, but like any other HR technique, it is designed to reduce the pile, not find the best applicants.

  7. I ask candidates puzzles by nightgeometry · · Score: 5, Interesting

    But the idea isn't to get an answer - and I am very up front that I don't care about the answer, and I already know it anyway. What I do want to see is how someone approaches a problem that they don't know how to solve. I had one candidate ask me the answer, I already know it after all - immediately top of my hiring list, and she was an awesome hire. Another asked if they could use google on their phone - again a pretty much perfect answer. The puzzle is completely irrelevant, the ability to question, put forward ideas and not just say 'I don't know' or, even worse, go completely silent and get embarrassed that you don't know, is pretty fucking critical. IMHO.

    I also look at samples of previous work, and we make all candidates carry out real world tasks along side us.

    --
    The best is the enemy of the good
  8. climbing up the technical stool by luis_a_espinal · · Score: 5, Interesting

    There's a technical ladder? Anywhere I've ever worked, it's more like a stool - start a decent distance off the floor, then go nowhere.

    That's a function of the size of the company and industry you are in. In general, the technical ladder (or stool) becomes steep very quickly. And as you climb it up, you start to see that you do more management than actual hands-on thingie-building. But do not delude yourself into thinking that this type of management is of a non-technical nature.

    Software Architect. Enterprise Architect. Technical Lead. Principal Engineer. Technical Director. Chief Scientist. Let's call these upper-stool technical positions.

    These types of positions require you to do less hands-on stuff, but the management you will have to do must be technical-oriented. How you assign technical tasks to people and teams will depend on whether tasks are technical feasible, on identifying the technical capabilities of your team, on understanding the resources required to complete technical tasks.

    Granted that a lot of people who get into these positions let go of themselves, gradually detaching themselves from the technical realities on the ground, where the pedal hits the metal. And as a result, their decisions are no longer technical, with technical consequences that is beyond their grasp. But those are examples of doing a bad job in their positions. And that exists at all levels, from the uber-chief of technical reality down to the lowest code monkey.

    These are the fabled paper tigers.

    That is, being detached of technical realities is not an inevitability of working so high up the ladder/stool. Good technical people remain strategically and tactically technical always, regardless of their pecking order. A good above-the-clouds architect can drop back to code with only a few days to clear the mental cobwebs. A good technical foot soldier can extrapolate the reasons behind good high-level technical decisions, even if he/she does not have the management experience (which naturally they don't at their entry level of their careers.)

    My suggestion to people who find themselves staring at the technical stool: put another stool over it, secure it with nails, crazy glue or some other good shit, and then climb it. That is, like a good engineer, you need to engineer and build your technical ladder.

    This can only be done without realizing first that to climb it, you will have to gradually move away from hands-on work without losing your technical wits. You cannot allow yourself to become a paper-tiger.

    This will also means that when you find yourself at a company where there is nowhere else to go but down (because the stool cannot go any higher for whatever reasons), then it is time to go somewhere else where there is a chance to nail/glue another stool over the one you have built so far.

  9. Re:Test by hoggoth · · Score: 5, Interesting

    Interviewer: You're in a desert, walking along in the sand, when all of a sudden you look down...
    Applicant: What one?
    Interviewer: What?
    Applicant: What desert?
    Interviewer: It doesn't make any difference what desert, it's completely hypothetical.
    Applicant: But, how come I'd be there?
    Interviewer: Maybe you're fed up. Maybe you want to be by yourself. Who knows? You look down and see a tortoise. It's crawling toward you...
    Applicant: Tortoise? What's that?
    Interviewer: You know what a turtle is?
    Applicant: Of course!
    Interviewer: Same thing.
    Applicant: I've never seen a turtle... But I understand what you mean.
    Interviewer: You reach down and you flip the tortoise over on its back.
    Applicant: Do you make up these questions? Or do they write 'em down for you?
    Interviewer: The tortoise lays on its back, its belly baking in the hot sun, beating its legs trying to turn itself over, but it can't. Not without your help. But you're not helping.
    Applicant: What do you mean, I'm not helping?
    Interviewer: I mean: you're not helping! Why is that?
    Interviewer: They're just questions, Leon. In answer to your query, they're written down for me. It's a test, designed to provoke an emotional response... Shall we continue?

    --
    - For the complete works of Shakespeare: cat /dev/random (may take some time)
  10. Funny anecdote by loufoque · · Score: 5, Interesting

    I once applied as a programmer to work on a server infrastructure for a next-generation search engine. They were looking in particular for people with great expertise in the C++ language and in the Boost libraries, areas in which I was a very good candidate.
    They asked me to perform a task and send the result by email before meeting me in person.

    The task was to write a program that would take an integer n, and display the nth integer that satisfies a particular condition involving primes (I have forgotten what the exact condition was). I was told I would be judged on the performance on my program.

    It was obvious that what they wanted was for me to know the mathematics about primes so that I would know the right formulae to compute the nth value quickly. As I didn't know them, it was irrelevant to the job I was applying for, and I didn't want to spend time researching it on the Internet, I chose to fit their requirements differently.

    I computed all the values beforehand, and simply made the program return the nth value of a table. Technically, it fitted the specifications they had given me exactly, and was the fastest solution possible.
    Yet they chose not to make me go to the next stage.

    Looks like brain teasers don't like being beaten at their own game...

    (Another funny thing about this event is that I sent the code to the person as a tarball, and he was unable to open it and asked me to send him a zip instead.)