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

27

u/Diabolic67th Sep 22 '20

The last line in every pseudo-code algorithm should be "check google to find the better way of doing it."

6

u/Belgand Sep 22 '20

Can I find an solution to this? Yeah... probably if you give me a decent amount of time. Even though I honestly suck at math. But if you want it done well, I'll track down a rigorously tested algorithm developed by mathematicians who've spent several years on the subject and then show how to implement it.