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

11

u/dnew Sep 22 '20

The real problem IME at Google is that the job you're doing has very little to do with these sorts of algorithms and much more to do with things like "how do you write a 2-million-line program that you can modify at random for five to ten years, importing third-party data and keeping up with changing business requirements, while never actually taking the server offline or expecting clients to promptly or synchronously update their usage". That isn't something that this sort of algorithm question will handle.

1

u/znupi Sep 22 '20

That isn't something that this sort of algorithm question will handle.

No, which is why I'm pretty sure there's also a systems design interview.

3

u/dnew Sep 22 '20

Unfortunately, systems design is expected of everyone including those who haven't done any systems design interview. :-?

1

u/hieund910 Sep 23 '20

Not sure about Google but I think lot of companies for new grad they ask OOD, which is acceptable. System design for new grad/junior pos make no sense

1

u/znupi Sep 22 '20

I mean, yes, Google requires potential new employees to have systems design knowledge / experience. If you don't have it you don't qualify.

I don't know what it's like at Google but where I work (one of the other big techs) we don't do systems design interviews for new grads, since they can't possibly have that experience. I'd expect it's the same there.

2

u/dnew Sep 22 '20

It may have changed since last I got trained in interviewing. I don't know how you'd evaluate someone's system design chops in 40 minutes if you're not going to believe their resume either. :-)

1

u/znupi Sep 22 '20

You try your best to pick a topic that would suit them and assess their knowledge and decision making by going deep on it.