by modeless · 4mo ago · 0 comments
Of course I told the interviewer I'd heard it before and then gave the correct answer. In my case we just ended up chatting about previous experience instead of doing another brainteaser and I ultimately passed the interview, I think. But afterward the recruiter strung me along for weeks telling me they wanted to make an offer but not giving me one, and I ended up going to Microsoft instead.
Not the worst interview experience I've had, though. That would be the time I interviewed for a full time position after an internship and a group of guys who knew me and had worked with me all summer asked me a pointless brainteaser as the only interview question. I crashed and burned for a full 40 minutes in front of them. Humiliating, and pretty much a pointless hazing ritual as they offered me the job anyway. Luckily I got a better offer and was able to turn them down.
Here are some other brainteasers I've been asked in interviews. I actually think these physics based ones are fun (probably because I had no trouble solving them), but they're still terrible interview questions:
You're in a boat on a lake with a bowling ball. After you drop the ball overboard and it sinks to the bottom, is the lake water level higher or lower or the same?
Three balls are on three downward sloping tracks. One track is a straight line down to the end, the second is the same except for a small hill in the middle, and the third is the same except instead of a hill it has a small dip. All tracks start at the same height and end at the same height and cover the same horizontal distance. The balls are released at the same time and roll to the end without leaving their tracks. Which one gets there first?
I walk in, and the CEO's secretary hands me an IQ test and says I have one hour. I do the test, then I meet the CEO and we chat about general topics while she grades the test nearby. Then she announces my IQ, and the CEO says "hmm, yes, that's above the minimum I'd consider for a developer." Then for the last few minutes he goes through the 2-3 questions I got wrong and asks me to explain why I gave the answer I did.
That was the first and only interview, and about six weeks later they call me back in and the CEO made an offer. I reply that I'll need a few days to consider. CEO: "What? Why??"
Not even brain teasers or IQ. Just: can applicant FizzBuzz? Verboten!
This is how, in a mass job application world, enterprises end up with >80% of coders, all making 6 figures, that can't FizzBuzz.
A hack to get the enterprise to assess is find the third party SWE test providers to big brand logos the board recognize, brands under the same risk governance / regulatory regimes, and ask "what do we know they don't?" First, the board know and respect those brands. Second, the question makes the board consider what they think about those in charge of the failing capabilities internally. This is something now both easy for the board to discuss, and obviously done by good references. Ok, let's try empirical evals.
Countless such broken record warranting beliefs clanging around 100k employee enterprises. McKinsey, BCG, PWC, KPMG -- all they need to do to justify 8 figure bill for the year is undo any one of them.
"This is literally a Title VII violation."
Griggs v. Duke Power Co. held that "The [Civil Rights] Act [of 1964] does not preclude the use of testing or measuring procedures, but it does proscribe giving them controlling force unless they are demonstrably a reasonable measure of job performance."
Why do you believe that prior documentation is required, and that the absence of such documentation would make the testing illegal?
Check his blog and find out. I particularly enjoyed the part where the best way to improve public transport is to keep poor people out, not to increase frequency.
EDIT: Hang on, I decided to just test the idea with the usual suspects and I don't see how you could design this in a way that works. You'd need some kind of non-contaminated testable outcome - lines of code etc. don't work - that is considered job performance which is scientifically validated in order to be able to survive the litigation that would follow the test.
I suppose the part that was wrong was that I claimed you can't run an IQ test. That's not true. You can. It just legally exposes you to a paperwork burden involving proof that it is required for job functionality - proof which you'll almost certainly fail because software engineer productivity isn't mechanically solved yet.
Is that the distinction? Listen, I've read your stuff and generally trust you and in any case I'm open to having my mind changed on this subject, but it seems like the actual thing is "Possible, but if you do it, you're going to find yourself in a massive paperwork and legal headache".
- How many golf balls fit into the plane
- How many gas stations exist in country (or alternative version with city)
- How many turns do you have to go on a gum machine until colour comes out?
Naturally they all evaluate properly the skills required for the job, and other professions get asked the same kind of stupid questions.
Unless it is for a position I really, really want, or are unemployed and every opportunity counts, that is usually where the interview ends for me.
Notes:
0 - https://www.amazon.com/dp/0316778494
1 - https://en.wikipedia.org/wiki/Fermi_problem And not the question Where are they? https://en.wikipedia.org/wiki/Fermi_paradox Same guy. At the same Los Alamos.
2 - You know, the guy who got a Nobel Prize for inventing transistors. https://en.wikipedia.org/wiki/William_Shockley
Just like not every cook wants to be a Michelin star with molecular cuisine, a tiny food drop in the middle of a gigantic plate.
There are other ways to assess those skills, sure. But questions like that aren’t bad ways.
> Unless it is for a position I really, really want, or are unemployed and every opportunity counts, that is usually where the interview ends for me
This person is close minded and is filtering themselves out of the process. This is ideal.
Are you saying you’re against all open-ended questions in the interview process?
I suspect you see them as time wasters which is why you end the interview. I see them as ice-breakers and rather enjoy them because they are fun to talk through.
A. You answer it from memory. B. Have to actually solve it, which from my experience requires a bit of time.
It just seems awkward to have somebody look at you while they wait for you to solve some riddle.
Boat + bowling ball = level stays the same?
Ball roll = the constant gradient is quickest?
So for the bowling ball, I replace it with an imaginary marble weighing 1 ton and the answer is now self-evident.
This would show them three things (which they did were not trying to find out, or maybe): 1. I think these questions are stupid. 2. I know that clear requirements and edge-cases are important 3. I’m an asshole and possibly not fun at parties
I got this vibe at AWS, interviewing in 2020. They asked me to design a stock price tracking webapp. I started asking questions and sketching things out and at each question (fairly basic ones, too, like, how many users are we supporting, how frequently do they request updates, and how timely does the data need to be). Seemed reasonable to me but I think my line of questions annoyed them because they said, "just design the app!" Maybe they thought I was stalling? Hmm, ok, but it'll fall over on day 2. I turned down the offer.
Dip for hill roll is faster
The hill decreases speed and increases distance, so it's always slower than the straight line.
If it was a floating bowling ball, the lake water level would stay the same when you toss it from a boat. If it were a sinking one, it would decrease.
What are the effects of the 10 litres of air displaced from within the boat?
Wouldn't that mean the water level will raise a bit because: displaced weight > displaced volume?
Steep then flat one because it gets up to speed fastest.
It's a classic "annoy people who've forgotten that newtonian physics is all integrals" problem. Graph the velocity. Look at area under graph.
1) Imagine pushing the boat down into the lake, displacing water. The level would go up.
2) Imagine the ball instead of being in the boat, is attached under the boat by a rope. Same thing. (Imagine it magically moving through the bottom of the boat - it has no impact on the boat or water level).
3) Imagine you cut the rope. The ball will fall, and the boat will bob up. Water level goes down.
Here's one of my old blog posts where I do the derivation:
To which I always reply "I just start beating the crap out of one at random - the reaction of the both victim and witness will tell me which is which."