|
|
|
|
|
by mabbo
2875 days ago
|
|
There's a specific best solution involving dynamic programming. If you've heard the answer, like say if you spent a month reading a bunch of common programming interview questions, then you can 'solve' it in 15 minutes. If you haven't, then you need to be ready to invent the same solution in 45 minutes (less the 5 minutes spent explaining the problem). Maybe Google (and the other big tech companies using the same style of interview) is looking for the types who can brilliantly solve problems like that in 40 minutes, but they're instead going to hire a lot of guys who read the book of problems ahead of time. |
|
A friend was obsessed with getting into FAANG and relentlessly drilled leetcode problems. There’s a whole community around it, basically memorizing enough toy problems that they can pass these interviews.
The companies should know by now that these clever problems aren’t really that clever. I have not interviewed in a long time but I think I’d get kind of depressed if an interviewer asked me 2sum. I’d just lose respect for the company.