Interviewed at a hot SV startup and got a hard DP. I was able to write recursion but couldn't fill out the memo table. Interviewer didnt care about recursion and told me to memoize. Failed onsite :(. If you are reading this interviewer, hope you get DP on your onsite. TC: $550k, E6
I got a 2d dp question before too.
That’s pretty good comp. Why leave FB?
You got Double penetrated hard?
Damn, interviews keep getting harder and harder.
The interviewer told you to memoize. Another way to say memoize is memorize ... So that’s how you should ace DP questions: Do enough of them so you memorize the solution :)
The interviewer prolly got rejected at fb, this was his revenge interview. They dont need DP in their job, nor half your skills
Lol.
Why r u leaving fb with that TC?
All these questions are bad - all those asking why leaving etc - people want to do different things , some want to experience startups , some want to grow to a larger role - some want to join a pre -ipo company . With that high TC - it doesn’t mean that person will never leave a company . Obviously this person will likely not go to another company for 200k TC this person might go for a higher TC and a larger role - would that be a reason enough ?
Yeah seems like vengeance. Might have been rejected in FB phone screen
Was the interviewer Chinese? Noticed that they tend to be inflexible during interviews and expect people to memorize solutions to LC problems.
2D memo?
Yup
I feel you. Hard to do in interview setting. Care to reveal the name of the startup?