34 points · by curtis · 11y ago · 44 comments
However, the last three whiteboard coding exercises I've done (two at Facebook and one at a small startup) seemed to be judged much more harshly than what I'm used too. I don't think I "aced" any of them, but had I been interviewing somebody that performed at the same level, I would have said "good enough" and passed the person along for further consideration.
Now some extra information: All three interviews were in Seattle, two of the interviewers for sure were ex-Amazon people (which I mention because I think it might be relevant), and I managed to get hired at Microsoft back in the 90s and at Google in the mid-2000s. I was not hired at Amazon back in 2002-ish, however.
So anyway, I'm wondering: Have I just not been doing as well as these interviews as I think, or has the industry moved the goal posts on me?
2. You will not get an offer if you do not get a solution
3. Everyone ever: "White board interviews can be awful, but my company actually does a pretty good a job and I find them useful."
edit: for a slightly less snarky comment (and to expand on point 2) https://news.ycombinator.com/item?id=9522400
Also, if you interview with multiple people for a position (and do multiple white-board problems) you can get an offer without acing all of them.
There's a lot more at play in any reasonable place than whiteboard performance.
Then again, I work at Pandora, so this is probably an outdated approach...
It seems like the biggest players complaining about the lack of native tech talent in the US are the ones who give the worst tech interviews.
For example, I had an odd one that addressed solution search space, how to short-cut going through the entire space, etc. Definitely a brain-teaser, and not something 99% of developers have likely dealt with--but relevant.
At Facebook I was getting I guess what you'd call classic algorithm questions but with an extra twist thrown in. If you combine that twist with excessive time restrictions (the Facebook interviews were strictly 45 minutes), you not only have to code well, you have to do it fast. On an algorithm that they appear to be hoping you've never seen before.
I'll re-iterate: Technical interviews are a competition. You cannot go unprepared. Testing your "raw" skill is stupid and a myth. It's as stupid as saying you want to see Usain Bolt (and everyone else) compete without practice. Those days are gone.
Obviously, getting it right the first time would be great. But I'll settle for something not obviously insane.
Having said that, I believe that your hunch is also correct viz. tech interviews for core roles at good companies these days, are more competitive than ever. Compared to say 10-15 years ago, the variety of interview problems is higher, complexity of software has increased, and the value of an engineer is understood to be higher ($Millions in equity). All that is contributing to moving of the goal post.
(Source: several years of doing this, now running an interview training course for a living http://InterviewKickstart.com).
This would be at hip, happening startups in which you take a gamble on awful pay and terrible hours in the hope of being the unicorn, is it? Because in the vast majority of coding jobs, you're not worth millions.
Engineers who can work on large scale systems in the backend and frontend are not that many. And hence they are valued higher. (I'm not talking about commoditized skills like making webpages and configuring systems, which are indeed vast majority of software jobs).
How many hours you spend is a very good question, but it's a separate question from supply and demand (aka value) of core engineers.
This is how I rank candidates. Let's say for a common question such as lowest common ancestor in a BST.
1. if they know the solution already and tell me they know it - major points, most interview prep books include it and they came prepared and they are also honest. I let them implement it still (and add some twist of my own)
2. If they don't know the solution and still figure it out, might even score higher, but people can "act" that they know it and some interviewed will fall for it. I want to believe I catch bad actors but can't say I can catch good ones. In any case if this is a question that appears in an interview prep book, I would expect them to know it (most people don't)
3. If they don't manage to implement it correctly, this is the biggest turn off. You CAN write correct whiteboard code if you WANT. I'm not with a stopwatch. If you don't then I consider it as sloppiness (more than "you can't code")
4. How you talk and behave - most important. If you can't figure it out yourself but ask me questions, if you try a simpler problem first, if you talk and explain what you are doing, if you run your ideas with me asking what I think, if you are determined to figure it out, ask for hints and immediately understand them and get this "aha" moment of how didn't I think of it rather than oh sucks I didn't think of it. If you are excited about the solution more than the fact I gave you hints for it, then I'd like to work with you. Asking questions is so important. Also not arguing with the interviewer and being a nice person really helps. I prefer shyness to overconfidence. Arrogance is an immediate no. Asking questions leads many times to a yes. Even if you didn't ace.
Bottom line with the existence of books courses and forums that list so many interview questions (some are on algorithms that took several years to develop) so knowing the solution is likely to be known from a book means you are not tested on your academic algorithmic development skills, you are tested on implementing something you read on CtCI with a twist perhaps. If anyone reads CtCI then interviews will just become harder.
I don't understand what you mean with this sentence. Is this a good thing or not?
> If you are excited about the solution more than the fact I gave you hints for it,
Is this the best way? Gauging a person's emotional response? I'm pretty reserved in general and don't show emotions, but I do get fascinated internally by things, even if I don't intuitively show it. I just don't know how.
It feels like I'm being discriminated against because I'm not an extrovert cheerleader. Now that I know this, I can certainly act happy and excited, just for you.
But that's it: it's acting. I don't understand.
Can you clarify?
If it's a hard question, there are two options, if they know it already, great, I still would like to see it implemented. If not then I would like to see how they ask me questions and respond to hints and I'll help them get to the solution. I don't expect them to do years of algorithmic research on the fly, no. Example will be
If it's an easier question, I do expect them to come up with a solution on their own even if they never heard of it. Example will be a 2 sum question. Or rotations a matrix (just examples, I'm not saying that this is what I ask)
Hope I clarified.
Largely my experience has been 1/2 to full day pair programming sessions, building a sample application that does something reasonably nontrivial, or a combination of these two.
I really personally enjoy this practice. Even though a day of billed hours is a large opportunity cost, so is the expense of potentially hiring a bad fit for the team. It goes both ways.
Big companies can't afford that luxury though. If big companies set tasks, the tasks would eventually leak because of the sheer number of people applying (both per position and over time). By necessity, you need the same task for all candidates to compare them effectively (ours was "build an inventory management system in Haskell for shoes", and we checked for things like documenting code, error management, and the sensible shortcuts someone might take), so you can't switch tasks around, and people will eventually learn what you like, work hard at faking the knowledge (e.g. copying and lightly modifying the code from other applicants), and you'll get loads of false positives.
So a big company needs to find relatively generalist questions that correlate roughly with later performance, and it seems that whiteboard CS questions are those by testing existing knowledge; through the sheer breadth of the exercise, it's a lot more time consuming to "revise" to fake that knowledge, and harder when on the spot to prove understanding. Are algorithm (and, less often mentioned, "fit") questions relevant to the job, maybe not, but you have to see the context and the hiring problem facing Microsoft or Google.
Of course, my opinion is that smaller companies asking whiteboard questions are just aping what they know from Google (as I was) and that there are better ways to hire when you have only 10 employees and 2 openings, but I might be wrong or at a local optimum.
I certainly regret not hiring a certain Masters in Statistics from Columbia who was very competent but who wasn't familiar with neural nets and admitted so in the interview/whiteboard... she'd have saved me at least 3 months on things I had to build later! Conversely, I later hired a guy who failed some of the whiteboard questions, but said it had caused him to learn more about the topic, which he did over a few months, at which point he came back to us, demonstrated competence and got an offer.
You can sort of understand why companies try to develop less time consuming methods, and why experienced developers prefer to hire from their network...
Peopleware has the idea of auditions, and I thought if you were clear about what you wanted, applicants would be comparable. I'm thinking, "Walk us through a project you did that demonstrates your knowledge of code quality." Or similar, with a clear list of what you're hoping to see.
Here "done right" means something like: used as a way to explore problem solving and logic with the candidate.
So in this light, I wouldn't expect anyone to "ace" a problem, but I would expect them to be able to say sensible things about whatever they try and to understand and discuss how to correct issues or alternatives if they are pointed out.
I wouldn't say this. The hive mind holds them in low regard perhaps, but people hiring have to actually get the job done and in different companies different approaches are possible.
Why do you think it was the whiteboard? Perhaps you were just up against a really good candidate pool.
https://code.stypi.com/ - shared code editor in the browser
Just use hangouts (we are using https://appear.in/ now, much better) and have them screenshare with you, this will allow them to use their own editor and setup and make them feel more comfortable.