r/programming • u/ldxtc • 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
5
u/skeeto Sep 23 '20
I completely agree. Every time these big interview threads come up, the overwhelming consensus is that these intermediate-level programming problems are somehow irrelevant, or that they require some sort of special study. What are you people doing that algorithmic issues never come up? I bet they do, and that they're usually just solved poorly, which would explain a lot. I have two simultaneous reactions to these threads:
I'm disheartened that the industry is in such a state that this kind of challenge is considered difficult. Is this why software quality has plummeted? I would never hire anyone who couldn't at minimum reach the recursive solution quickly on their own. When prompted to make their solution efficient for a larger number of hops, I'd seriously hesitate to hire anyone who couldn't work out a solution that completed in a reasonable time, whether it's dynamic programming, memoization, or something else.
It boosts my personal confidence since, if this is my competition, I will never have trouble job hunting. More than that, r/programming naturally selects for programming enthusiasts — who else would participate in a discussion forum? — so the people here are generally above average, and even these above average people struggle with intermediate-level problems.