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

Show parent comments

11

u/nokoko Sep 22 '20

What would you do if you received 2k resumes per day, every day selected the best 100 to take your test and 90% of the candidates pass it with a perfect result? Who do you hire at the end of the month?

11

u/LUV_2_BEAT_MY_MEAT Sep 22 '20

The best cultural fit? The most relevant work experience? Other actually relevant things to the job?

6

u/nokoko Sep 22 '20

Does the job at your company involve anything harder that what is in the test, or is it a good representation of the complexity in the day to day work? If that's the case then you don't need to hire the best engineers, so the approach is understandable.

The challenge in hiring at big companies is that you want to present a hard problem (they want the best engineers) that can be completed quickly (people's time is valuable) and does not weed out people because they lack some exact domain knowledge. There are not many of such problems.

7

u/LUV_2_BEAT_MY_MEAT Sep 22 '20

But thats the whole problem: DS/A questions don't give you the best engineers, they give you the people who are best at solving DS/A questions. DS/A is a learned and practiced skill. Theres a whole industry now in getting better in those types of questions that exists for the sole purpose of doing well in these interviews. While these types of questions might provide partial insight into their abilities, things like technical discussions are equally telling: describing past projects, why the did the things they did, why they chose the technologies they chose, what didnt work, what they'd do differently, etc. The coding exercise I described is part of that holistic approach. I know you mentioned people's time is valuable, but again, if you don't take a little more time you dont want the best engineer - you want the best DS/A solver.

2

u/nokoko Sep 22 '20

Unfortunately these metrics are very subjective and hard to use to rank 1000 people and select the 100 best candidates in an unbiased way.

The challenges in the interview process between large and small companies differ a lot, so anyone copying FAANG practices in a 50-employee shop is making a mistake. Similarly, you can't really think that any approach that works well at a small company can be applied as-is to a top tech firm that attracts so many more candidates.