I actually suspect that one of the main purposes of the algo based interview process is a motivation check. It takes time to prep for these interviews. Lots of time. So if you get a candidate that is crushing problems, it can either mean two things: 1) They are exceedingly brilliant and they can program decently 2) They have studied hard, they can reason and code decently Combine that with a system design portion and…
Algorithms Interviews: Theory vs. Practice
21–30 of 77 posts
Re: Algorithms Interviews: Theory vs. Practice
#22Opening statement: > When I ask people at trendy big tech companies why algorithms quizzes are mandatory, the most common answer I get is something like "we have so much scale, we can't afford to have someone accidentally write an O(n^2) algorithm and bring the site down" In 20yeara I've never heard someone say anything like that.
Re: Algorithms Interviews: Theory vs. Practice
#23Link to the question: https://code.google.com/codejam/contest/2437491/dashboard#s=...
The gist of it is: You are given 4*N points on a 2D plane. Can you draw two perpendicular lines to separate them into N points per quadrant?
I think Dan's missing context is that google code jam questions always have a small and large dataset. In this case, small is N=10 which makes a lot of bruteforce solutions possible and not much different from any other bruteforce puzzles common in interviews. Being a geometry question is the more unfair part if this is a generalist role (but not unfair if your role involves graphics, computer vision, self driving car mapping, etc).
Expecting a solution for the large (N=2500) is ridiculous of course. See analysis: https://code.google.com/codejam/contest/2437491/dashboard#s=...
Re: Algorithms Interviews: Theory vs. Practice
#24Earlier quoted context omitted.
According to Dan, you're both outliers: https://twitter.com/danluu/status/1058029337923014656 .
>"I'd never thought about it this way before (look at who gets rejected and see what they have in common), but I guess there's one thing interviews are pretty good at filtering for: people who are a certain type of nervous in interviews." Sounds about right. I can pass "take home quiz" style interviews at nearly 100%, but put me in front of a whiteboard and everything goes blank. Not sure why people insist on doing t…
Re: Algorithms Interviews: Theory vs. Practice
#25Opening statement: > When I ask people at trendy big tech companies why algorithms quizzes are mandatory, the most common answer I get is something like "we have so much scale, we can't afford to have someone accidentally write an O(n^2) algorithm and bring the site down" In 20yeara I've never heard someone say anything like that.
If we are one query from bring down the site I don't want to be anywhere near that site.
Re: Algorithms Interviews: Theory vs. Practice
#26> Some companies will give very large out of band bonuses to people, but that work wasn't for a company that does a lot of that kind of thing, so there's nothing the company could do to indicate that it valued additional work once someone did "enough" work to get the best possible rating on a performance review. From a mechanism design point of view, the company was basically asking employees to stop working once the…
> Accepting that organizations are incentivized to extract the maximum amount of value from you means you should be: 1. Aware of the value you produce 2. Know how to sell it Do you think this is important even if one is already satisfied with one's compensation and mainly cares about the positive impact that they're making for end-users of the company's software?
Re: Algorithms Interviews: Theory vs. Practice
#27Re: Algorithms Interviews: Theory vs. Practice
#28Opening statement: > When I ask people at trendy big tech companies why algorithms quizzes are mandatory, the most common answer I get is something like "we have so much scale, we can't afford to have someone accidentally write an O(n^2) algorithm and bring the site down" In 20yeara I've never heard someone say anything like that.
Re: Algorithms Interviews: Theory vs. Practice
#29I actually suspect that one of the main purposes of the algo based interview process is a motivation check. It takes time to prep for these interviews. Lots of time. So if you get a candidate that is crushing problems, it can either mean two things: 1) They are exceedingly brilliant and they can program decently 2) They have studied hard, they can reason and code decently Combine that with a system design portion and…
Re: Algorithms Interviews: Theory vs. Practice
#30>"I’ve done maybe 40-ish "real" software interviews and passed maybe one or two of them" I'd say that about mirrors my experience as well. Is this really that common? Here I was thinking that I'm just an idiot.