156 points · by tosh · 6y ago · 178 comments
Sadly, many of the implied alternatives to coding interviews are becoming a regression toward credentialism: People who have already secured good jobs, impressive internships, or prestigious university degrees would much rather coast on those credentials than be challenged for a few hours during an interview. This feels good if you’ve already made it or you grew up with the right connections, but it’s far from ideal you’re a promising developer who doesn’t yet have the right credentials on your resume to unlock the job. To many people, the coding interviews is a chance to break the traditional mold and land a job that would have been out of reach otherwise.
I've spend this year writing about hiring[0], both to talk about the problems and provide suggestions on how to improve the process. My suggestions are sometimes high-level, and sometimes very detailed. Some examples:
- Be specific about the requirements [1]
- Tailor the requirements to the role you're hiring for [2]
- The types of non-technical issues that can cause a candidate to perform poorly, and how interviewers should correct for them [3]
- Let people work independently [4]
But above all, my primary thesis is that it comes down to looking for strengths, not trying to discover weaknesses [5]. Having been on the hiring side, this is the specific suggestion that I believe will have the most impact, especially to those who want to land a job that would have been out of reach otherwise.
[1] https://hiringfor.tech/2020/03/02/are-you-asking-candidates-...
[2] https://hiringfor.tech/2020/06/22/hiring-for-the-role.html
[3] https://hiringfor.tech/2020/05/25/letting-the-little-things-...
[4] https://hiringfor.tech/2020/08/03/reducing-interview-stress-...
[5] https://hiringfor.tech/2020/02/10/false-positives-and-false-...
I strongly agree. I think a generation of software engineers has been trained to calibrate their interviews by looking for reasons not to hire someone, instead of looking for reasons they should.
This perpetuates all sorts of biases in the hiring process, and it insidiously serves as a form of self validation as well.
I do not like much of this advice, even if some of it may be true. For example, I believe that the sum of a team can be greater than its parts, and hiring for talent alone can result in a poorly functioning team.
[0] https://twitter.com/dsafklasdfnas/status/1315699986403786753
Some of the author's tweets about identifying talent, IQ, and temperament:
· https://share.getcloudapp.com/YEuyyKbE
Perhaps we could interview different people differently?
I don’t know why we have this obsession with subjecting experienced candidates to the same whiteboard gauntlet as a new grad. In fact, after a candidate has a bunch of experience you’d better be screening for other factors, since the role of an experienced developer can/should be dramatically different than someone with a few years of experience.
But no, still with the “challenges”. If you can’t do obscure puzzles with the same fidelity as you could six months out of college, it’s a no-hire!
My favorite interviews were when we were trying to hire a senior level engineer, and we were only interviewing people with 10+ years of development experience. We'd ask people to build a priority queue. Items with a higher priority need to be handled before those with a lower priority, but otherwise items should be handled in order.
Can you guess what the most common methodology people chose was?
Did you guess an XML document?
These are people with degrees in comp sci, some claiming 15 years of experience as a developer, trying to get a role at a top 10 bank in New York City.
Of course technical interviews shouldn't be the only test used for hiring, but they absolutely should be included. Maybe it's demeaning that you have to jump through these hoops. Or maybe you're bad at them. Or they're "beneath you" in some sort of way. But don't blame the interviewer, blame the hundreds of other people trying to get a job that they aren't qualified for.
A: We need programming quizzes even for senior engineers, because many turn out of be incompetent.
B: How do you know they're incompetent?
A: They failed our programming quizzes!
The reality is that you're testing for stage fright, not programming skills. An audition is not a good criterion for choosing people who aren't stage performers.
There may be a few small niches that attract good quality talent, but otherwise I don't know why anyone would opt to work as a technologist at a bank as opposed to say, a bonafide real tech company (all the banks are eager to say they are "tech companies" nowadays), or even a hedge fund.
> Did you guess an XML document?
If that is your most common experience with asking that question, maybe it is time you consider whether you are communicating what you want properly to your candidates.
Every job gets applicants that aren't qualified. Only software engineering out of every single non-performance based (musicians, actors etc...) industry out there has white board interviews.
Hiring is meant to have fidelity. Fidelity to what? To the extent there are company values, nobody explicitly “tests” for them in hiring. Certainly when I worked at US Engineering, which had an explicit values statement, I don’t recall being interviewed for how I “exhibit integrity in everything we do” or “ensure a safe working environment.” I doubt Amazon is like “so let’s talk customer obsession. when is the last time that you stalked a customer and got obsessed with making their life easy?” (I mean you can question the value as well, but to the extent that Amazon tells you its core values, are they a part of hiring?)
How much fidelity are we talking? Use the “nines” metaphor. Do you want five nines, one bad hire in a hundred thousand? Probably you need a month-long “interview” process then, you’re basically at the question of “let us contract some work out to you for a month and if we like you we will hire you.” But, consider: are more nines even better? If we have BS metrics that do not properly reflect our interests then we only find out about them by hiring people we would not have rationally hired. Maybe you only want one nine, or more radically even half a nine (that is 68%, if you have never heard of it), of fidelity. What if you baked that fidelity in? What if a unilateral consensus to not hire still generated a 10% chance of hiring and a unilateral consensus to hire still generated only a 90% chance of hiring, so that interviewers had to know getting into this that absolute sureness was not a goal?
That brings up an even better question, which is: can you have a good hiring process without a good firing process? How do you give yourself the one-nine process and then make sure that people who were retroactively not a good fit get a decent severance but are done away with?
I have mentioned elsewhere that Bayes’s theorem suggests that evidence should be measured more or less in decibels; this is covered explicitly in Jaynes’ Probability Theory ch. 4. But consider [1] where researchers found that they did not see substantially more correlation between different interviewers evaluating the same candidate for 20 minutes, and other interviewers watching videos of those interviews over only the first 20 seconds (the initial greetings of the video). So can we actually trust interviewers to give us, say, +10dB of evidence that this person is a good fit? Or if we get 5 interviewers do we get a range from “meh, pass” to “hire immediately for twice what they’re asking” as much as if we had done job interview “speed dating”?
Constructive advice is hard. One wants to instead force the hiring committee to watch talk after talk by Alan Kay until the roughly-every-other-talk discourse Alan gives about how “we live in a pink world and then we have a deviant thought but then we kersplat it until one day in the shower we have a kerpow that launches us into a new blue plane of existence—but that idea like most is more likely to be mediocre or terrible, so we have to then come back to it with something like science so that we can discard terrible ideas” becomes somehow ingrained in the hiring committee and they start trading their “kerpows” and evaluating them and coming to a better process than this “pink world” we see with our rose-colored glasses.
Because without that sort of systematic re-invention, aren’t we just guessing?
[1] https://www.researchgate.net/publication/313878823_The_impor... . Side note: in tracking this study back down I got to see a lot of interesting takes on it but the most common consensus is that “we make our first impressions in that first 20s and then do not budge from them” which I do not think is warranted given the data. That is, while a significant correlation coefficient is observed and it is comparable to the correlation between different long-form interviewers, at no point is that correlation coefficient, like, 0.9 or 0.99 or anything like that, suppressing interpretations that these first 20 seconds determine the interview. For that matter if that was your goal you would want as a control any other 20 seconds in the interview—you would want to prove that it was the first 20 seconds that determined the overall interview impression, not that people were judging based on some je-ne-sais-quoi demeanor that is visible throughout the interview.
That's not really true, plenty of suggestions on how to improve it. Many of those based on experience doing it for the long haul.
Personally I always advocate for a technical discussion of their experience. Read the resume in detail. Talk about it. Pick some past project to go deep. Also let them pick a favorite past project to go deep in detail. It means the interviewer needs enough technical depth to follow along. This works. I've never said "yes" to a hire and later thought that was a mistake, in ~25 years of doing interviews.
Just the other day here someone was saying they received over 50 resumes for a role so they had to interview over 50 people. No. Don't do that. You can't go deep, so it just leads to meaningless puzzles. Read the resumes, pick the top 5 or so, interview them personally. Hire the best of those. Done, move on with getting work done.
I've never understood why these two different groups, long experienced developers and unproven newcomers, are competing for the same jobs. That's the insanity of the system.
I suspect the answer is that many people believe (mistakenly IMO) that experience doesn't really matter, and "raw talent" overrides everything else.
The problem is that "long experienced developers" are often worse than "unproven newcomers". They aren't any better and instead of being a "lob of clay", they are "molded steel" and all the bad habits will never go away.
True senior engineers from reputable companies are of course different than newcomers and they are interviewed quite differently at big companies. But the problem is that what candidates understand as "senior" and what FANNG companies understand as "senior", often have little to do with each other. And the reason is simply that most people who apply for a senior role, wouldn't even pass the entry level interview at a FANNG company. It's just the sad reality. And this does not mean the entry level interview is wrong. It just means that these "senior" candidates were instead just junior developers who never developed beyond that from a skill perspective (except in their own heads).
And at FANNG companies, to even be considered for a senior position interview, you MUST have the credentials on your CV to prove it. However, a lot of candidates will never be interviewed for a senior position, even if their CV is "ten pages" long, because its apparent that this experience will be unlikely to have prepared you for a senior position at a FANNG company.
Being a senior engineer at a FANNG company is demanding and difficult on many more levels than just raw coding. You could be the best coder in the world, but that won't make you a senior engineer. It will make you a top mid-level engineer and you will never get beyond that without acquiring non-technical skills. Most people simply won't be able to do this job, no matter how long they stay in the industry. And I can assure you that there is little similarity in how interviews are conducted for these positions vs. college grads.
A senior engineer is essentially a developer who wants to still code, while also being a manager and a leader.
Someone who could very well have invented javascript yet doesnt know ExpressReactVue[*]JS or framework du jour cannot get past first-line recruiters who are searching on Linked In keywords. Thus, both groups are in the same bucket.
I wouldnt be surprised if some recruiters turn down python 3.6 candidates because they dont have python 3.7.
Hear me out: the quality of (hiring) managers in tech is ridiculously bad for the money they make. Little quality, poor ideas, and little personality. Mostly, they are of the nerdy type, like the vast majority of people working in tech, so by inclination and culture are not leaders, but followers or the aloof type, and they much prefer to work on their own than in teams. It pays off to go with the flow in corporate.
Source: I had managers (including Directors and VPs) at some of the tech companies everybody talks about that were they to take any decision in which life and livelihood of people are at stake, it would be one of those dreams after which you wake up drenched in sweat and you make the sign of the cross you are just working in a tech company.
I hope it is clearer now.
I think "How to interview engineers" is a set of actual Slava Akhmechet's recommendations about hiring, sprincled with occasional satire about hiring games.
Just a few things I disagree with:
- 'Talent', as it is defined in the article, is not the most important factor in most jobs (though granted he writes that this article doesn't apply to most jobs)
- IQ is not a good measure for intelligence. Intelligence is way too diverse to be broken down into a linear scale, even when it comes to just engineering or 'talent', as he calls it here.
- Personality is way more important than he makes it out to be. It can't just be broken down into 3-5 factors. This isn't a scientific process. In my experience, this is where most of the value of personal interviews is.
- I found the last section disgusting to read. He's advocating for manipulating the candidate into accepting the job by asking successively harder questions, even though you've already made up your mind. What a great start to your business relationship. And then justifies this by saying that 'people want to suffer'. This is almost like negging in romantic relationships. Just awful.
Slava, if you're reading this, I'm disappointed. I respected you for your experience and your writing but this is making me quite sad.
EDIT: As lots of people have written here in the comments: On a second read, I agree this could indeed be satire. If so, well played Slava, well played!
I don't think so though, unfortunately. This is what the 'everything is measurable and science has all the answers' mentality brings, if taken to an extreme. These days, science, data-driven approaches and 'measure everything' are more religion than anything else. Even if this article is satire, I think there's enough people out there that think this way.
And hazing.
Some form of the hazing seems very common for dotcom hiring right now, whether or not (as the article alludes at the start) the people who are mimicking it from elsewhere known the reasons or effects.
Eh, some would argue the opposite... (Probably hundreds or even thousands of psychologists & academic professors of psychology)
"In psychological trait theory, the Big Five personality traits, also known as the five-factor model (FFM) and the OCEAN model, is a suggested taxonomy, or grouping, for personality traits,[1] developed from the 1980s onwards."
https://en.wikipedia.org/wiki/Big_Five_personality_traits
"Abstract We demonstrate that Big-Five personality traits are stable for working-age adults over a four-year period."
https://www.sciencedirect.com/science/article/abs/pii/S01651...
"The five-dimensional structure was robust across major regions of the world. Trait levels were related in predictable ways to self-esteem, sociosexuality, and national personality profiles."
https://journals.sagepub.com/doi/abs/10.1177/002202210629729...
"Personality was related to career success controlling for general mental ability and, though adulthood measures of the Big Five traits were more strongly related to career success than were childhood measures, both contributed unique variance in explaining career success."
https://onlinelibrary.wiley.com/doi/abs/10.1111/j.1744-6570....
However I do it only so that I can potentially give a hire recommendation for a higher level with tens+ thousands/yr more compensation.
Also because I'm always just one of 6+ interviewers, and a committee of 6+ completely separate people makes the actual decision, I can't even know if the person is being hired anyways.
The article is written with this in mind, that's why there's multiple tests (coding and written!) for both "talent" and "judgement."
Intelligence isn't really very diverse, when you need people who are s-m-a-r-t smart. That means you need smart people, not half-smart differently-abled people.
Large tech companies will measure for this. From personal experience I know that Google, Facebook and Netflix all test for cross functional leadership at the senior+ level. By the time you're interviewing for senior or higher roles, only two of the six interviews are actually about coding at these companies. The rest are behavioral and system design, with specific questions used to calibrate how hands on you are and how much you're used to working with many teams effectively in a large org.
Oh, you have a better way to measure g?
I can almost see it in the "six hours" part, which I think is the weakest part of the essay, but it doesn't fit because the usual motivation for long hours and hard questions is not the negging/hazing explanation here, but because you want multiple perspectives on the candidate and because you want to establish the candidate's limits. It's useful to know the difference between "Candidate is good enough to work here" and "Candidate is insanely talented". The only way to get that is by asking questions that differentiate between good enough and insanely talented.
Other than that aspect, the essay seemed straightforward. It seems true that it would be hard to make the questions the author asks and easy to fake "Tell me about a time you took initiative" style questions.
I think the interview described here seems challenging and designed to hire quick thinking hackers, but it doesn't seem absurd or obviously wrong or terribly flawed as I would expect from a satirical piece.
I suspect the author is looking for a reaction like: "Wait, if I agree this is absurd, then why _don't_ we just administer IQ tests and be done with it?"
Some of the author's tweets about identifying talent, IQ, and temperament:
· https://share.getcloudapp.com/YEuyyKbE
· https://share.getcloudapp.com/z8uYY5gZ
In my view this strikes people as unfair because it excludes most people. It probably excludes them. I think I'd struggle with the tic tac toe problem and would probably need 30-60 minutes on it (hope to try this afternoon to see). It feels bad to see people say the bar is something you can't reach, and that makes people upset at the author. The author is an elitist and people don't like that.
Furthermore, the bar is arbitrary. No good programmer needs to implement a tictactoe counting program rapidly so it feels dumb to judge on that. This is like saying though that IQ tests are meaningless because I seldom need to guess which shape comes next in a sequence. However, just like predicting a sequence tells us something about the quality of your cognition (probably) quickly writing an arbitrary program tells us that you have some level of coding, thinking, intelligence, etc.
You may have that level of talent and fail the test, but you can't lack that level of talent and pass the test. At least, that's the theory in this essay. It seems mostly correct to me, barring an otherwise incompetent person who just coincidentally practices lots of tic tac toe problems.
Given that hiring a bad person is a lot costlier than failing to hire a good one, it seems logical that some people would need to structure hiring like this.
I don't think this is a good bar for FAANG companies. They need too many people. I don't think this is a good bar for companies where software is mundane not core competency stuff, you don't need high speed hackers. I'd doubt this is a good strategy for underfunded startups, you probably can't afford extensive interview processes with high bars or to hire the folks who would pass them. This seems like it might be a good pattern for a well funded software startup that needs to move fast.
Because you could replace the entire thing with a 2 hour IQ test.
> but you can't lack that level of talent and pass the test.
Another reason that this should seem absurd and obviously wrong. It's trivially simple to pass the test without the "level of talent" being targeted. It is just a matter of repetition. There are entire websites dedicated to beating this well known hiring step. Anyone can learn recursion and caching and work a bunch of leetcode / hackerrank problems and get a job at a place who implements these interview practices. Whether it takes you 2 weeks to prep or 6 months to prep is not revealed to the interviewer.
The problem is that the views and practices here are just within the range of views I've actually seen interviewers and hiring managers express. And that's more damning of our industry's hiring practices than the person who wrote this.
https://en.wikipedia.org/wiki/Leo_Strauss#On_reading
> Thus, Strauss agrees with the Socrates of the Phaedrus, where the Greek indicates that, insofar as writing does not respond when questioned, good writing provokes questions in the reader—questions that orient the reader towards an understanding of problems the author thought about with utmost seriousness.
So my take is it's a kind of litmus test: anyone who expresses genuine outrage at this or treats it purely as satire isn't qualified to interview anybody, because they haven't put any real commitment to wrestling with the (possibly impossible) challenge of successfully, reliably, economically identifying good hires.
Like I probably only want to work with people who read this and say, "Hmm. Interesting, but what about -"
We were 'pairing', he was 'driving'. Well, he wrote the whole thing in one sitting, in ANSI C. Even added couple of extra shapes to the program (that we thought were required, but in fact weren't). The bottleneck was his typing speed.
I was able to follow everything, although I remember thinking that a couple of spots along the way had more clever solutions, compared to what I would do, were I the one typing.
I did not notice any mistakes whatsoever. None. Turns out, neither did the compiler. He wrote the whole damn thing, one sitting, in a single afternoon, and only hit compile once. It worked. First try. Hundreds of lines of codes with pretty high complexity.
I later ran Valgrind on it. It didn't even have memory leaks.
I had never seen anything like it, and haven't seen since. I'm pretty sure we'll have a new algorithm or data structure named after him at some point.
Would I hire him for a startup? Only if it was based on complex algorithms, otherwise he would probably get bored.
Even if you do find a genius (and you never even have the chance to interview guys like him, as they can essentially pick their job), you may still need to get a Carmack, not a Dijkstra
The author acknowledges right in the article that he would fail this interview, but expects the readers to trust him on this one... oh you just follow these steps and the plane will keep flying.. I tried it myself and crashed, but maybe it will work for you..
If it's satire, then it's not obvious enough, if it's not, then it's just bad advice.
If anyone can shed some light on how to "see" the satirical aspects, I'd be really grateful. :)
On the other hand, it's a merciful way of resolving the cognitive dissonance, since the alternative would be "what an asshole" and that would make for a worse thread.
The author tosses in references and citations that if this were satire, are affirmations of how much smarter the author is than their audience, since they know the absurdity (apparently if it's satire) of these claims, but the gullible audience thinks they're plausible.
I don't think this is satire, but maybe I'm not intelligent enough to see through it.
The number of valid tic-tac-toe games is 255168.
And these are the kind of questions that would (hopefully) come up in the interview!
You can imagine someone with alot of experience but slower thinking speed doing just as well as someone with less experience and faster thinking speed.
Second this is also relative to the problem being asked. With the tic tac toe one, you can also think about someone who maybe has been on leetcode alot and has no actual work experience and is generally slow, to be fast on this particular problem since they happen to have studied that before or have exposure to it.
You can also imagine the opposite someone who is really fast at thinking and has experience, but they haven't looked at binary trees in 10 years so they may be slow thinking about a particular subject.
Hard to believe this is satire.
Technical excellence is the key to success in surprisingly few businesses. This hurts for engineers to learn, but it's true. By the time you need technical excellence, you usually have more options to get it. But it's rarely the deciding factor compared with doing simple things in the right direction.
Side note: 10 minutes of pure fast typing sounds disastrously long for a simple brute-force algorithm question.
Building real applications with real world complexity requires teams, and while being clever and curious is essential, so is being able to ask where something is or ask for help effectively is equally, if not more important.
It's harder to interview for those kinds of things, and instead hiring managers have elected to make the interview process some kind of trial by ordeal, and we are all worse, and the products we make are worse as a result..
But I think his math doesn't work out. The solution is only about ~100 lines. If typing speed was the bottleneck, it would only take 2 or 3 minutes from start to finish.
> The most talented candidates will think about it for a few seconds, then write the program as fast as they can type (and they'll type fast). You can almost sense their frustration because they think way faster than the keyboard allows them to interface with the computer. Typing speed is their bottleneck. (...) The whole process will take about 10 minutes from start to finish.
wins=. 9 3 $ 0 1 2 3 4 5 6 7 8 0 3 6 1 4 7 2 5 8 0 4 8 2 4 6
winner=. # e. 3 + wins #@-.~"1 ]
isover=. [: +./ ] winner/.~ 2 | #\
fullgame=. {.~ 1 + 1 i.~ isover\
all=. (i.!9) A. i.9
echo # ~. fullgame"1 all
https://tio.run/##NU3LDsFAFN3PVxxqQRq3Rh9UIuE7tItGBiOjTTRYkP...Or the 1-liner:
# ~. ({.~ 1 + 1 i.~ ([: +./ ] (# e. 3 + w #@-.~"1 ])/.~ 2 | #\)\)"1 (i.!9) A. i.9
which surely could be golfed even further.https://tio.run/##JYyxDoJAEER7v@LpWdzl4iJwoJiY6HcIlSERG0sKDb...
Saying typing speed is the bottleneck may be a bit of an exaggeration, but if you look at the leaderboard for Advent of Code, the leaders are incredibly fast.
(My result: 5 minutes, but I'm normally a lot slower than those leaders. I'd just already written a tictactoe program and only needed the count-games function.)
Jim Keller famously says "99% of what I believe is wrong" in an interview https://lexfridman.com/jim-keller/ (although I am not smart enough to read much into that quote).
There is some deeper truths behind the gloss, otherwise the article would just be trash, but I haven’t had enough experience conducting interviews to know where the truth is hiding.
What is this, I have to know!
There must be people he interviewed, they should be able to answer your question.
There are some "good" nuggets in there, and by good I mean that while they may be unpleasant, they may still be true. The part about "Theatrics" makes a lot of sense to me.
It's really only the "Talent" part that I refuse to admit is genuine. This whole typing speed thing, I really hope nobody thinks like that.
IMHO, he's being honest. Interviewing and capitalism is super imperfect currently (life isn't clean like logic). It's part of the game. One goal is to change the game.
I thought his sections on Judgement and Personality were pretty good / show experience. Though for some of this there are more targeted ways that FAANG does this (Amazon leadership principles, Googleyness, Netflix freedom and responsibility etc.) - but I agree with him the signal is mostly around those who prepare for it (as it is with just about all tests; the SAT, etc.).
But I quite like the writing style.
They're sociopaths.
I think they can get away today with so many silly hoops because the supply of engineers is quite high these days, and I guess, the FAANG industry standard is the "fair" way to identify the best candidates.
Engineers now are putting up with all this because there is not much choice than to spend more time training for this kind of interviews.
No matter how much do they talk about talent, judgment, IQ or whatnot, the fact is the more you train, the better you get at this kind of interviews, independently of how capable in your day to day job you are as an engineer. Proof that training works is the whole emerging cottage industry around interview preparation that is thriving these days.
Perhaps this is a bubble that will burst at some point, but I'm afraid the bar of ridiculousness will keep raising. If any of the FAANG companies started requiring to complete a marathon in less than 5 hours, they will still find great candidates that will train hard to achieve it.
The rationalization after fact would be something like the ability to complete a marathon correlates well with the ability to deliver a project or whatever, but they are just selecting for engineers that will do whatever it takes to get the position, no matter how silly the requirement is.
>>This is my super secret proprietary no-nonsense guide
Looks like satire.
It’s exhausting, a huge waste of everyone’s time, and ultimately it put me off.
We do 30 minute blocks with your boss, one director + one developer, one with the CTO and then the wrap up with the internal recruiter.
The other departments do roughly the same (finance does comptroller + one of your coworkers at the same level instead of director + developer)
Edit: We also make sure to allow the candidate to get some water, pee breaks and take them out for lunch (if it happens it to be during the lunch time)
The main things they care about are: 1. Can you do the job (and do it well)? 2. Are you really interested? 3. Are you batshit crazy, or can you work with the tiny/close team?
Large companies put you through the grinder. My most unpleasant interview experiences were with some very big names (but not all are like this).
I’m not a good fit for small companies, I don’t have the desire to study for FAANGs anymore (a week of studying isn’t enough), and I’ve personally had great luck with medium sized ones.
YMMV.
Each interview is rubric-based and related to job skills.
If you're a bay company that's taking a $250k+/yr risk on someone you typically rake them over the coals (for better or worse).
On a personal note I'll add it's even more exhausting when you schedule these types of interviews at different companies back to back on consecutive days so you don't have to keep flying in for each company.
As an engineer that made the transition to programming, many interviews I was told Engineering isn't programming. I had to take an entry level programming job (and pay).
And the opposite is True too. Programmers are not Engineers. In Engineering you are expected to prove everything and there generally is only 1 correct solution(given cost, quality, and time specifications). That's generally the scientific method approach.
In programming, outside of algorithm efficiency, you are taught to listen to Authority and follow best practices or standard practices. This isn't science, it's art.
Programming pays better and is in higher demand, so I'm not hating on programming. But these are distinctly different professions and ways of thinking.
> First, I cannot myself pass this interview. Last time I tried, I got the correct answer after about forty minutes or so. I could get it down with practice, but it doesn't matter-- I think slower than I type. That's a no hire. The point of the interview is to hire extremely talented engineers, not engineers as talented as me.
The humor is so thick in that paragraph that you could cut it with a knife.
I can imagine someone wanting to hire an engineer more talented than they are and so asking questions that they themselves wouldn't be able to answer. That just seems logical rather than ironic.
I feel like it would bias your selection towards a fast moving hacker rather than a more methodical person, but that may be exactly what you're looking for in this context.
How many games of tic tac toe are “valid”? What does valid mean? As usual the problem with hiring software isn’t measuring “talent” “iq” or “personality”. These things are arbitrary, it’s communicating business needs to an engineer and having the engineer build the system based on the needs of said business.
As always the issue is communication, and the author makes it clear despite him thinking long and hard he’s not able to effectively communicate what the interviewer actually wants.
Edit...
Upon reading through the comments and seeing everyone having a different answer, simply proves my point.
Obviously you don't want to penalize the candidate for not reading your mind and guessing the definition you had in mind. But I do think it's fair to give extra credit to candidates who notice the ambiguity and ask for clarification. Done well, an ambiguous question can be an opportunity for a candidate to demonstrate a strength, rather than a trick to unfairly penalize someone.
In general idea that IQ has biological significance, and linking to anyone who approvingly cites The Bell Curve's most controversial parts, are both dangerous. More to the point - it's not dangerous because it's "taboo facts," it's dangerous because it's misinformation which has been discredited by decades of science.
If Slava is being "ironic" or "satirical" with this garbage then he needs to make it more clear, or just delete the entire section.
Last time I interviewed in the Valley, some mofo actually asked me how many TicTacToe games end in 5 moves ? 9.5%. Here's my MonteCarlo solution if you can't be bothered with this garbage. Sorry that repo is 7 years old. Never got a chance to use it again.
https://github.com/krishnanraman/TicTacToe
Makes me so glad I quit the field & went into stats. My classmate just graduated with his stats phd & I asked him how the job interview went. Apparently they asked him if he was a frequentist or a Bayesian. So he said he was a Fisherian, and they had a good laugh. After a few preliminaries on p-values, credible intervals vs confidence intervals, 2 way anova, standard proofs on Cochran's theorem, Cramer-Rao & how to simulate multi-variate gaussian, everybody went for lunch. He was out the door under an hour with a job offer.
I don't see how regurgitating standard proofs is far and away different from regurgitating (or solving) algorithmic coding problems. "Implement a priority queue" is to software engineering what "prove Cochrans' theorem" is to stats (arguably the second is more difficult/less reasonable).