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/SJC_hacker Sep 23 '20
They did build a lookup table for neighbors of a given digit. You can't use a lookup table for the entire solution because the length of the number is unbounded.