4 ms·
The only answer is: memorize all the leetcode answers perfectly, and pretend you don't know the answer but that you're "working through it". At places like Fac
by pfarnsworth 9y ago
The only answer is: memorize all the leetcode answers perfectly, and pretend you don't know the answer but that you're "working through it".
At places like Facebook, I heard that you're given several interviews with 2 coding questions to answer perfectly in 45 mins. It's basically luck of the draw whether or not you know the answer, and the best way to game it is by memorizing as many answers as possible. I know this is possible because I have friends that have gotten offers from Facebook and Google by doing exactly this.
All this does, of course, is create an arms race where interviewers ask harder and harder questions. It's frankly ridiculous unless we start taking the algorithmic portion away from the interview.
- ubernostrum 9y agoThe arms race doesn't proceed all that quickly. Memorize a couple implementations of breadth-first and depth-first search, an implementation of longest common subsequence, and big O of some data structures, and you'll get surprisingly far in most big-tech-co interviews.