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
9
u/SJC_hacker Sep 22 '20
They do have the time. I spent a total of about 9 hours interviewing with Google, split over 8 separate interviews, including six coding coding interviews. This was divided up into initial screening of two separate coding questions, then final interview consisted of four separate coding questions (it should have been three, but they screwed up and gave me an extra one).
So the question is do we give one problem to solve over five hours, or five different problems to solve in hour each.
The problem with all the little problems - one the questions that I didn't get right, was straight out of a 'Hard' Leetcode problem I hadn't practiced yet.
I just interviewed with another SV company. Coding interview was three problems of increasing difficulty. The second question was LeetCode problem, that I *had* encountered, and was able to solve. I only got halfway through the third problem. But apparently this was enough to get to interview with hiring manager.
So the gridning LeetCode does seem to help.
I do actually find some of the LeetCode problems interesting, and they do come up in actual use cases, from time to time . For example, implement an LRU cache in an optimal way. Caching is a pretty common problem in that comes up in a actual systems, from CPUs pages to databases.
Other LeetCode problems are just annoying and really esoteric.