r/programming • • Sep 22 '20

Google engineer breaks down the problems he uses when doing technical interviews. Lots of advice on algorithms and programming.

https://alexgolec.dev/google-interview-questions-deconstructed-the-knights-dialer/
6.4k Upvotes

1.1k comments sorted by

View all comments

229

u/za4h Sep 22 '20

"Here are some behind-the-scenes look at our process that hasn't worked for at least a decade, possibly never. Now startups can copy our deeply flawed system! Enjoy cramming for months next time you interview." -Google

50

u/IMovedYourCheese Sep 22 '20

For an interview process that has supposedly never worked, Google as a company has done pretty well over the last decade.

0

u/[deleted] Sep 22 '20

[deleted]

6

u/nazbot Sep 23 '20

To be fair, these are pretty hard questions. Even if they filter out a lot of great candidates, those who get through probably are pretty smart people.

I’m not saying it’s a good system - sort of like the SATs you can practice and get good at taking the test. Still, those folks who DO get through are at least pretty good mathematicians.

8

u/hardolaf Sep 23 '20

They get a bunch of brilliant idiots. They are great at the work in the weeds, but while doing it, they missed the moon and flew into the sun.

→ More replies (1)

12

u/finrist Sep 22 '20

Sometimes I think Reddit fails to realize that an interview process often is not a pass/fail process but rather just input to when comparing candidates.

6

u/i_post_things Sep 23 '20

As far as I know, Google HC doesn't compare candidates with each other. The hiring committee doesn't do team matching so they can't quantititatively say that one candidate may or may not be better than another for any particular position. It's not like they know "well we need to hire 5 candidates by the end of the week" and pick the top 5 scores.

A number of packets go to committee, each member grades it each packet, then they meet up to review the packets one at a time, arriving at a decision.

→ More replies (1)

39

u/kankyo Sep 22 '20 edited Sep 23 '20

As all companies with flawed interview processes have. They succeed because they have a good business and this stuff is just a relatively small tax on a tiny part of their cost.

If they replaced this with a 15 minute test of random tech trivia and some dice throwing the cost savings wouldn't show up on their balance sheet at all.

It's all about incentives: it's super easy to add hurdles in the process, but if you remove them and even one bad hire slips through then you are to blame (even though the stricter system wouldn't have caught them!). This is how we as a society keep building Azkaban over and over and over.

13

u/[deleted] Sep 22 '20

If they replaced this with a 15 minute test of random tech trivia and some dice throwing the cost savings wouldn't show up on their balance sheet at all.

I really hate this because it's fundamentally untrue. You should talk to someone at google, which has spent countless hours doing studies, crunching data, and running experiments to refine their interview process. Interviewing is one of the most important things large companies do and the idea that they don't spend time testing whether it works is silly.

14

u/kRobot_Legit Sep 22 '20

Yeah, the Google interview is definitely flawed, but the idea that that it’s no better than a dice throw is an incredibly asinine and uninformed opinion. Google uses tons of data to correlate work performance with interviewing results, and they use this info to adjust the process.

This is why they removed brain teaser type questions from the process. They weren’t shown to have any statistically significant correlation with job performance. If whiteboard coding questions straight up didn’t work they would’ve been dropped a long time ago.

5

u/IMovedYourCheese Sep 22 '20

They also removed college GPAs from consideration, at a time when it was very common to judge candidates based on it.

2

u/kankyo Sep 23 '20

I can get sort of accept that they can correlate it to work performance evaluations, but how do they know the evaluation is related to the value the person contributes to the company? I find this extremely suspect.

2

u/kRobot_Legit Sep 23 '20

I mean, how good can any evaluation be?¯_(ツ)_/¯

It’s in the company’s best interest to estimate its employees’ value as accurately as possible, and evaluations (based on a combination of empirical data and peer/manager feedback) are really the best tool they have available. Axiomatically, high value employees are those which score highly on evaluations because evaluations reflect the metrics which the company has chosen to value. Given that those evaluations represent the company’a values, it’s in their best interest to do their best to hire employees who will score well on evaluations. Thus, evaluations are a perfectly reasonable metric to calibrate the interview process against.

Obviously (just like interviewing processes), evaluation processes should be constantly refined and improved, but at the end of the day they’re all the company’s got.

2

u/kankyo Sep 23 '20

There are tons of problems here. Like for example the assumption that the companys interests are defined at all, or that it's defined in a way that isn't actually super harmful to the company (google+ anyone?), or the assumption the layers of managers and whatnot between the CEO have incentives that align, or that the employees can't fake their metrics.

Especially if the metrics are dumb then you've just optimized to hire the people who are smart enough to respond to stupid and complicated incentives that are an accidental biproduct of the management layers and the incentives of those layers.

2

u/kRobot_Legit Sep 23 '20

I never said the system was good. At the end of the day though 2 things are true:

  1. The company has concocted an employee evaluation method that it uses to inform personnel decisions. It is the tool which the company uses to answer the question “how valuable is this employee to the company?”.

  2. The company wants to hire employees that bring maximum value to the company.

This system sucks a lot of the time, and it no doubt has massive blindspots. I’m sure it’s also wildly inconsistent and in some cases actively harmful. But the reality is the company has to answer the question “how valuable is this employee?”, and this system is the way the company has chosen to answer that question. It is believed by the company that this system works. If the company didn’t believe that, they would change the system. Given that you have a system that you believe estimates employee’s value, it is perfectly rational to use that system to inform other aspects of your business.

Again, I’m not defending the system itself, and I think it is absolutely imperative for any company to be highly critical of its evaluation process, and try to iterate and improve it. My only real point is that if you have an employee evaluation process that you trust enough to inform personnel decisions, then that process is also a perfectly good tool to evaluate hiring decisions, and by extension your interview process.

→ More replies (1)

5

u/badtux99 Sep 22 '20

The problem is that with all of this, the correlation between actual job performance and interview performance is essentially the same as flipping a coin. At least, that's what the published information says. In my case I don't care because I interview well -- I'm knowledgable, I have strong opinions about application architecture and code quality, I come across as enthusiastic and intelligent -- but I pity the good people who aren't as good at playing the game as me. In some cases I get to haul them along behind me so there's that, I guess. In other cases they get stuck in dead-end positions well below their potential for years.

→ More replies (8)

2

u/kankyo Sep 23 '20

Afaik just measuring work performance is a totally unsolved problem in programming. If Google has actually cracked that, I would like to hear about THAT and not this seemingly arbitrary hiring process.

And even if they have cracked that problem, do they even have enough people to make statistically valid conclusions? I am extremely skeptical of the entire thing.

2

u/kRobot_Legit Sep 23 '20

It’s not about “cracking” the problem or finding the solution. Every company in the world has to come up with a solution. There is no choice. You have to evaluate your employees to the best of your ability. You can’t just not evaluate your employees until you find a perfect, scientifically proven, statistically verified solution. You have to decide much to pay people and who to promote. Once you’ve devised your assessment method, you have intrinsically answered the question of what your company values.

→ More replies (2)
→ More replies (5)

13

u/Whisperecean Sep 22 '20

Except 90% of their revenue comes from ads.

That's like arguing Boiron is a high tech biotech company.

9

u/LoompaOompa Sep 22 '20

Ad platforms are large and complex software products. I don't really see how "the revenue comes from ads" is a rebuttal of the idea that they have skilled engineers who are doing good work.

12

u/Whisperecean Sep 22 '20

The complexity comes from scale not from the domain. In all honesty I was replying to a comment that made a pretty bold claim equating something with something.

The truth is the other comment was just a rant.

5

u/[deleted] Sep 22 '20

For as many PhD as they have id expect more.

→ More replies (3)

2

u/eterevsky Sep 22 '20

The majority of engineers in Google are quite strong, at least in part thanks to the interviewing process.

→ More replies (5)