160 points · by gaylemcd · 9y ago · 217 comments
Both of these companies I can gladly say are some of the best places I've ever worked with bright, motivated engineers and a great culture. I think part of it is that if you know your stuff, you'll be easily able to suss out who is bullshitting in a discussion / debate and who isn't. If you just recite problems from Cracking the Coding Interview, you have pretty limited insight into the candidate's abilities.
I agree with this. I tell companies to not ask questions from Cracking the Coding Interview. But that doesn't mean those style of interviews are fundamentally broken. It's just stupid to ask questions that candidates are likely to know.
Cynically, big companies might be selecting for a modicum of technical expertise along with demonstrating capacity to put up with some amount of abusive processes.
They have no impetus to change and think they have found an approach that works reasonable well when given absurd amounts of candidates. The problem is the ridiculous false negative rate.
I struggle to think of a better system. Using experience is unfair and misleading (I worked on awesome stuff... that I can tell you nothing about, I was totally the lead on this software, etc...). Take home stuff is fine with me but a lot of people have problems with it. Come in for a week type things are incredibly applicant hostile.
Sit down with me and lets try and fix this bug seems like a more reasonable solution to me. Dev environment has the most popular ide with their devs, the source for whatever, internet access, and a bug report. Person is there to assist.
Talking about prior experience? Flawed for the reasons you mentioned.
Take home stuff? Flawed -- cheating and other issues (I discuss this in another comment).
Work with us for a week? Doesn't scale. Unfair to candidates. Lots of issues here.
Sit down and help me fix this bug? Flawed:
1. Huge bias based on whether they know this particular skill set -- the right tools, etc.
2. Pretty arbitrary as to whether they find that particular bug.
3. It can't be a real bug. It has to be a toy project in order to get a consistent evaluation.
I assure that the big tech companies absolutely do care, but they struggle to find something better.
I've also had several positions where I passed whiteboard hazings. Those didn't go as well. My theory is that selecting strongly for code jam types may correlate with not selecting carefully for people who work well together.
That's great for people who are good at talking. And certainly communication skills are important, but a strong bullshitter with mediocre programming abilities can probably pass such a test with flying colors.
They create the problem and then they sell the solution as a book or as an online self-help service.
All the interview questions do is demonstrate that you've bought the right books and spent hundreds of hours practising pointless coding problems because you have nothing better to do with your time.
Maybe big companies are only interested in hiring sheep-like engineers who have no side projects to maintain and no sense of pragmatism... But then why do such companies (e.g. Google) spend hundreds of millions of dollars each year on acquiring startups full of ambitious and pragmatic (wolf-like) people (people who probably would not pass the technical tests).
With that strategy, over time, big companies just end up with a few pragmatic wolves at the top and a large number of sheep at the bottom. It's not natural and they're missing out on more balanced candidates who are neither sheep nor wolf but are excellent engineers nonetheless.
All of those sound complicated as hell. Perhaps they are more effective, but the whiteboard interview is obviously less complex. And the side projects approach is just laughable considering the number of excellent engineers I know who don't have time or interest to code on their off hours.
A good whiteboard question can tell you a bit about the applicant's design sense, knowledge of key data structures and algorithms, and ability to integrate new ideas. It also has the nice benefit of quickly weeding out the huge number of applicants who can't write DFS on a tree.
But the article said that they are interested in people with side projects.
"I once worked with a candidate at Google for a product manager role. During the interview, he started talking about how he kept chickens at his house. He was extremely passionate about building a door for the coop that opened and closed automatically to control the chickens’ movements."
I have 30 tomato plants in my backyard and was planning some automation around watering. It doesn't always have to include a raspberry pi even though I may go that route to monitor soil temp in the hot months. Filling up a 5 gallon bucket with water and compost and the right size holes can slowly drip feed the plants.
If you have a system that tells you if there are chickens missing from the coop, you can save some time by only going there if needed.
Oh and the always responsive HR or whoever is in charge. Getting back to you after 6 months. Thanks but no thanks. I would rather make more money in a stupid corporate job than working on more aggressive ways of making people to click on ads.
Could you name a few "stupid corporate jobs" that pay better than Google or Facebook (200k - 300k for a senior engineer) ?
It does take a lot of preparation for big-company clueless interviewing processes though. Next we'll see guides for how to ace your kid's application to the top-tier coding preschool.
All this sucking up to big companies with questionable morals and procedures, for the money, is so... 80s. So yuppie, so Reagan-era. Reachin' for the top! Go for it! Eye of the tiger! Pressure, pushing down on you, pushing down on me, no man ask for.
Edit: The question is based on this article I read a few months ago: http://blog.interviewing.io/lessons-from-3000-technical-inte... The bar chart in that page is very interesting. HN discussion here: https://news.ycombinator.com/item?id=13272840
How would one go about getting your foot in the door at such companies (I've had similar experiences with both Microsoft & Facebook as well) ?
Often employees will be open to referring you even if you don't know them well. Use social media, Facebook groups, Quora, etc. Recruiters want to be found.
Have an active github.
Make yourself Google-able. Have a website where you list projects. Screenshots help make things feel more "real", especially if it's a recruiter/sourcer who might not understand some of the technical details.
Hackathons and conferences also. They're swarming with recruiters.
Having been on the recruited and recruiting side for one of the big 5, I'd add an extra advice: Don't panic if you don't have any of the things mentioned above, especially when still young in College.
I didn't have an active github, nor a website, nor screenshots of my side projects. If you're genuinely passionate when you talk about it (no matter how small you think this is), the recruiter will notice this.
One of the most important advice that was given in this article for me is: "Show initiative even at the risk of failure"
-> You did X in a class project : It won't matter so much because you had to do it to pass your class. If it's a group project it will matter even less because there's no way for the recruiter to know if you did 90%/50%/5% of the job.
-> You did a small Android app or a personal command line tool for you, but you didn't publish it at all on github, and it's a private thing (a tool to help your grandma do X remotely), it's fine, but like the Amazon interviewee who started her game company: Mention this on your resume and to the recruiter!!
I've also seen people downplay achievements because they thought it looked lame compared to what is produced by Google/Amazon/FB/Microsoft ... but those products have dozens if not hundreds of engineers behind them, PM, UX teams etc. Of course your project will be lame compared to it. Still put it on your resume.
If you're going at a top CS school, having all of these doesn't matter as much, the recruiters usually know that the projects/classes you took are not trivial (via Alumni giving feedback on those), if you go to an average one, you need to show your passion in one way or another, working on a small side project you genuinely enjoy is a great way of showing this.
Finally, if you have very little time for side projects because you're busy working multiple side jobs to be able to pay your tuition and rent, mention it somehow when talking with a recruiter. You certainly don't want the recruiter to perceive you as what the authors describe "mentally lazy" when in fact the reason you're not doing that much in the side-project side is because you're working your ass off to simply be able to graduate. You can also use some of those side jobs experiences to show the recruiter you have some applied leadership/teamwork skills.
I've seen some companies decide "well, whiteboard interviews are flawed" and just scrap the whole thing and replace it with something else... that's much more flawed. They're really not being honest with themselves about what the flaws exactly were in whiteboard interviews and if those are fixable, or what the flaws are in their new process.
There's a lot that can be done to make whiteboard coding/algorithms interviews less flawed. - Be clear with candidates and interviewers about expectations. What knowledge is okay to assume? What knowledge is not? - Clear guidelines on what makes a good question. A lot of companies ask very simple or well-known questions but think they're emulating what Google does. They are not. - Good interview training. Most companies don't have interview training, beyond maybe basic legal stuff. Even the companies that do have training typically have crappy training. - Interviewers should candidates with certain things that might not be obvious. For example, writing examples of input and output on the whiteboard is helpful. Don't rush into coding.
There is A LOT that can be done to make whiteboard interviews more effective.
You can also replace them with some other things, but understand that those will come with their own flaws. Scrapping whiteboard interviews is not going to deliver you some perfect system.
(Context: In chess, a queen can move along a row, column, or diagonal to attack. The N Queens problem is to place N queens on an NxN chessboard such that no two queens can attack each other.)
No one does poorly here because they are "bad at chess algorithms." They might do poorly because they think they're bad at chess algorithms. But this is not a "chess algorithm." It's an algorithm, with a chess skin.
But, sure, if you're bad at chess algorithms, I'll give you this problem: Given an N by N boolean matrix (all falses), set N cells to true such that no two rows, columns, or diagonals have two trues.
Same question, but with a boolean skin. Now will you be able to tackle it?
So, advice: Don't assume you're bad at __ type of algorithm question. For the most part, this isn't true. At most, there's a tiny bit of knowledge to tackle it (so you're not bad at it; you just don't know something). Nearly every time I hear someone say they're bad at some type of question, it's actually just an insecurity. They aren't even missing any knowledge.
The only partial exception here is recursion/dynamic programming, which does have its own little approach.
At a higher level: Can you ask for a new question if you're bad at that type?
You could, but it's risky. If I ask you a question that really involves pointers and you don't understand them, then okay. But realize that this might be a deal breaker for me. I might need that knowledge, or I might be concerned about the tendency to give up.
You're probably better off just voicing something like: "To be honest, I haven't worked much with pointers. I'm happy to give it a shot though, unless you want to move onto a different question."
Someone who's never come in contact with backtracking won't be able to solve n queens "in time", unless they pull a mathematics stunt, but those who do know backtracking won't struggle much.
On a higher level - how much of an "already seen the algorithm" crapshot are tech interviews?
And given the fact that a lot of the problems in your book are trivial in higher level languages (reversing a string is only hard if you somehow don't know how to do pointers) - what's your opinion on trying to use Java on a whiteboard in 2017? Has python officially become synonymous with pseudocode?
The more difficult ones feel like you absolutely have to have seen the problem before because there is complex relationship between the sub problems that are used to solve by induction/bottom up. How is someone supposed to solve these? Throwing out tons of guesses at the start feels like it'll still end up with me getting shown out before lunch time.
Recursion and memoization is easy but dynamic programming doesn't really feel as natural. Ways to get better? Just do more?
Generally, no. Not unless you want to look like a whiny stick-in-the-mud.
Does your book have more anecdotes of candidate "fails"?
Would you be willing to share some more stories?
Does CtCI publish those times for its problems? How would I know I'm too slow to solve a kind of problem before interviewing?
If you derive your sense of worth from a bigger brand and not your own efforts and caliber, you might be complacent for a while then life happens and you will regret not accomplishing anything meaningful in life. Before preparing for your interview and seeking validation for your self worth from big companies, try out internships at startups and get exposed to disruptive ideas. Do not play by somebody's rules. That leads to stagnation. A small plant does not get enough sunlight when it is shadowed by a giant tree. The sunlight you need is exposure to problems you can solve.
Google and Amazon are the new IBM and AOL. They were once the disruptors, now ready to be disrupted by newer generations. Every other day we read about how internet is broken and finance is broken, try starting there.
If you decide to get a job at big company, its not all that bad, just do not take it so seriously.
Startups even in successful cases are just break even working at AFGAM. Usually you'll quickly be throwing away $100k/yr in income instead. And that $60k/yr your not putting in your stock brokerage account you could of used for whatever bootstrapped digital business or financial independence base you could of done instead. Over 8 years the difference can mean a literal million dollars in the bank.
Working at AFGAM won't make you lose your soul, and you'll learn a lot of stuff that you wouldn't learn in a startup. If you work at both types, you'll quickly realize that working at a SV startup and working at Twitter or FB is not that much different.
A lot of startups have fun, but writing bad disposable code is the standard operating procedure. Mentorship is usually non-existent. Wanting to write something quality is usually difficult to get approved because you might die tomorrow. Long hours are very typical.
I would also suggesting looking at this article: https://deardesignstudent.com/8-reasons-to-turn-down-that-st... , #4 is especially relevant.
On the other hand, I asked a friend in the bay area about an engineering position he had applied for. 13 rounds, and he was finally told no.
1) Talks to recruiter about positions heybhave open, she selects the ones she wants. 2) They send her resume to these hospitals and if they are interested they let the recruiter know. 3) She has a phone interview that lasts 30min-1 hour. 4) If they like her she has an offer within a week, though sometimes within a day. 5) She moves to her new assignment.
She literally deals with life and death and it's a whole hell of a lot easier than any programming/tech interview. She also gets paid very well (her stints around the Bay Area were ~100k, which is awesome for mid-20s).
Tech is steadily losing all of their "alternative ways of doing things." They are just as entrenched in their processes as any other industry.
This kind of process is only reserved for us lowly engineers. Right from the get go, the power dynamics are clearly established. And this in a field where it is supposedly "hard" to hire people.
1. Candidate learns about the company and the tech during a set of 2-4 interviews with our engineers. We don't tell them to learn as much as they can because we want to see how inquisitive they are. Interviewers are coached to be fairly open and talk about our products and tech. If there are no red flags, the candidate receives a take home coding assignment. We give them 6 to choose from. There is no time limit, but we are interested in how long they take and which of the assignments they choose. The assignments are all relative to the type of code we develop.
2. Candidate returns with their code. We're looking for only 50-100 lines, as we don't want to ask for a lot of their time. They start the interview by hosting a code review of their code in front of 3-4 engineers. We expect them to be able to explain their coding choices and answer questions that show that the code is more or less their own authorship and that they know what they are talking about. After the code review, they will have 1-1 interviews.
3. If it goes well to this point, we have them back for more introductions to other company management to see if anyone notices anything concerning. We might take them to lunch.
With luck, we get 2 or 3 candidates through this process and then meet to discuss which gets the offer.
It's a new process and seems to be going Ok so far, but I'm curious if anyone else has tried this type if approach and if so, what was the outcome?
EDIT: Interviews are 2 hours each step. 1-1 interviews typically 1/2 hour. The code review is usually 1/2 - 1 hour, we don't put a time on it.
- First day is 4 interviews and a take-home project.
- Second day is an interview in front of a panel followed by an indeterminate amount of further interviews.
- Third day is a "culture fit" interview.
3 separate days of interviews and a take-home assignment? What professional has time for that?!
EDIT: I guess it depends on the length of the interviews. Is the total interview time for a candidate more like one all-day interview split into multiple days, or is it substantially more than that? If it's the former, why not just do it all in one day so that candidates don't have to use up a half week of vacation?
On the other hand, we need people who will stick around for a few years. Our tech is very domain specific and there are few candidates that can drop in and get to work. We have to spend a lot of time bringing them up to speed on the code base. So we don't want to pull the trigger too soon. And we definitely don't want to bring people in for subsequent interviews if it's obviously not going to work.
Regarding cultural fit, the question I ask the team is "You're going to see this person every work day for years. Do you think you'd be Ok with that?" I think it's reasonable to assess that as part of the process.
EDIT: Interviews are 2 hours each step. 1-1 interviews typically 1/2 hour. The code review is usually 1/2 - 1 hour, we don't put a time on it.
I went through some of these. I had just come back from a 6 month trip and was effectively 'unemployed'. I was fine with it then as well.
No way that I would have/make that time currently being a full time employee.
Just keep in mind you may be selecting for a particular type of candidate with this strategy.
This is a good idea that I've never seen anywhere.
2. take-home assignment. Should take only a few hours. We look at both general programming and software design skills, but the assignment also includes some data structures / algorithms stuff and thread-safety. Note that:
a. The assignment is open-book (no need to memorize computer science trivia)
b. The algorithms and data structures are actually used by us in production (it is relevant to the work being done)
3. Once the homework is complete, the hiring panel reviews the homework assignment and resume. I completely review the homework before even touching their resume, so that my appraisal of the code is as unbiased as possible.4. The candidate is brought in for the interviews (assuming the panel approves). We do four 1-hour, 1-on-1 interviews (1 manager, 2 developers, 1 tester). The style is very conversational, and we want to make sure candidate can speak intelligently to different aspects of software engineering. The only white-boarding I may ask a candidate to do is to manually show the algorithm that they implemented as a part of the homework.
In a previous startup I would ask a single question that would take 30+ minutes to work through with no expectations that the candidate would ever get the answer. All I cared about was if you could break down the issues and move from one set to the next in trying to narrow down the issue. I cared deeply about how you thought, not what you knew.
As people will ask the question had to do with networking and knowning the answer required you to have seen the issue before and have had delved deep enough into the Ethernet HW specs to get the answer.
Narrowing down the question just required you to think and be able to problem sovle. At the end most people never figured it out but those that spent the time attacking the problem and asking question are the ones that got job offers.
The major problem with this approach (unless you are very vocal about the process up front, but still even then I see it as problematic) is it flies in the face of most education at all levels, at least as practiced in the USA. This is fundamentally more an issue with the way we scale teaching up to so many students than the way interviews are handled, but it still ends up being a huge problem.
People are expected to spend 20-ish-plus-something years learning and being tested in a pass/fail know-it-or-you-don't manner, and then are thrown into an interview environment that is entirely different.
It isn't surprising that a lot of people who would be perfectly capable of doing the work get completely hung up on the fact that they are wading through the muck of topics they don't fully understand in this environment that otherwise feels so very much like a school test of knowledge... especially when you throw in the types of social awkwardness and fear of public failure that are relatively common among engineers.
Overall we found that the way we did this interview was very successful. At one point we lowered the bar and hired a bunch of people and they were all gone in six months. On the other hand those that were successful with the question and problem solving did very well and are still there. Some of those people I hired even work with me at my new startup.
Also I do not understand your comment about schools. Yes in K-12 there is a lot of pass / fail but when you go to collage for an STEM major there is a huge amount of critical thinking and problem solving involved. The interview was designed to test that, not if you memorized how to do a binary tree search.
I went to college for Computer Science and while there was definitely a larger emphasis on critical thinking and problem solving than in high school and grade school, testing (which is the closest to a school equivalent of a job interview) still ultimately boiled down to you either knew the material or you didn't. Testing was virtually never a conversational process during which I could ask the test-giver questions to get at a deeper problem, so ultimately very different than these problems where the "tester" (interviewer) doesn't actually expect you to solve them during the "test" (interview).
My comment has nothing to do with the experience of LEARNING in USA schools, but rather TESTING in USA schools (including the vast majority of colleges).
FWIW, as an older experienced software developer, I now excel at the sorts of interviews you are describing, but when I was younger and just out of school I was terrible at them. Not because I was a bad developer/engineer then, but because of anxiety brought about by being asked about things outside of my element, because I just wasn't used to that having never been exposed to it. Based on lots of conversations with other developers, I don't believe I am alone in having this difficult adjustment period with software interviews when first starting out as a professional.
It is entirely possible your process works fine for you because it is one of those ones that is unlikely to produce false positives, which is what you really want to avoid, but I'm sure there are also some great developers just out of school that totally bomb your interviews while they would do great at the actual job.
If you can hire enough developers to allow those false negatives to exist, then that's no skin off your back but your anecdote about having to lower standards suggests that maybe passing on some of those false negatives was detrimental at least in the short term.
I've had an interview like this. I said thanks for your time and walked out of the room.
I'm not interested in being told problems are unsolvable, I'd really prefer to work in a culture where there's a growth mindset. Even if a problem is unsolvable for me right this second, would it not be within the realm of possibility that with more experience or with a couple other folks on a team, I could solve it?
I also came to believe that the questions I historically asked were also mostly pointless. They were either cookie cutter things from googling "how do ininterview" or things i thought up myself to go on an ego trip of seeing how well a person matched my specific thought process.
The process was heavily biased towards the type of person who would memorize "cracking the coding interview" who would often be people who would overcomplicate things and rapidly create terrible abstractions because the only thing they knew was making things DRY. Then there's the positive feedback loop that comes with this and the resulting codebase of increasing complexity from everyone trying to prove that they're smart.
It's ridiculous. Though i suspect it's intended. The other trait this process filters for is heads down order taking and the specific type of discipline necessary to memorize a dictionary. Also, the long hours of someone trying to prove their worth. A benefit in large companies.
It's shocking that people are this dumb, but sometimes brains just misfire in stressful interviews. Happens with the interviewer sometimes too. I was once asked, when an interviewer noticed my wedding ring, if I planned to have any kids soon and what my wife's career was, which is a definite no-no. I assumed he was joking, but he was honestly asking the question. The other interviewer stopped the interview and basically kicked him out of the room.
The thing about lunch interviews is mostly true. By default, the lunch interviewer does not actually evaluate you, they do not normally submit any feedback. But, if you say something that's considered way out of line/offensive, then yeah I'd expect the lunch interviewer to likely email the recruiter.
have you spent time around any new parents, recently? they're basically mono-maniacally focused on kids and it's nearly the only thing they ever talk about. I can easily imagine that the guy asking the question might be a new parent himself and it was just where his mind went to automatically while trying to do smalltalk.
or maybe not. maybe it is exactly what it seems to be. could go either way.
Seriously though, what's the "jeans and a nice top or shirt" "culture" about? It's obviously not "we're so chill" if someone's ostracised for wearing what they want and it happens to be 'too smart'.
Point being, this is extremely helpful batch of advice for a surprisingly narrow field. Take out the SV / Top 1% Tech Culture nuances and there's really not a lot to work with other than "Put your best foot forward, be flexible to learn new things if asked, and and to keep trying.
But, something like this just stings to me:
>Either way, it’s very common for a candidate to get rejected and then get an offer a year or two later.
It's extremely uncommon for the common person to get anywhere near that kind of follow up. Well, maybe for half the expected salary, but no, this doesn't happen to anybody I know outside of SV or Top 1% C-Suite management. The advice within should be constrained to its applicable universe, with cautions that viewing the process in other fields through this lens could actually be detrimental.
What OP implies is that the interview process is out of candidate's control and there are many variables in play.
What the OP doesn't realize is that this is the definition of a shitty process.
What would you call a piece of software that cannot reliably produce the same output most of the time?
vs
What would you call an interview process that cannot hire the same people most of the time?
You could replace them by software, ala "here's a coding problem with a set of unit and integration tests to validate against, go nuts" but that would have its own set of issues.
That's not true though. Raters change. Counter intuitively, as the rater gets more and more familiar with the problem, the less tolerance they have for mistakes.
I've made the clichéd mistake mentioned in the article of wearing a suit to an interview where it wasn't appropriate, and felt the air being sucked out of the room. It strikes me as silly, but what do I know. Do these hiring practices result in a good cohort of employees?
To me, it's pretty clear that it basically works. It's not perfect, but yeah it works. Virtually every top tech company has been formed with these practices. So unless you're going to argue that they could have hired random engineers, then it must be effective. (Note: this doesn't mean that it's perfect or that there's nothing better or that you can't improve it. It just means that it is reasonably effective.)
I [author here] have done a lot of interviews with companies going through acquisitions, and that's offered me the ability to talk with their managers about their job performance. My assessment is generally accurate. There are certain things it can't evaluate, of course, like work ethic. Work ethic is really important, but there's really no way to interview for that.
In this video, a Google hiring committee were given their own anonymized hiring feedback and wouldn't even hire themselves.
To complicate this: 1. The range in interview performance of those who get hired is really quite narrow. So you're looking at essentially the difference between a 3.1 and a 3.3. You'll need a lot of data to try to find a correlation there.
2. The interview score is only a partial measure of interview performance. If you and I experience an identical interview, I might call that a 3.1 and you might call that a 3.3. The hiring committee will hopefully understand that a 3.1 from me and a 3.3 from you are equally good (because they see our past scores). This makes the data on interview performance harder to correlate, and you'll need even more data. (Or you'll need to properly take this into account in the study, by looking at a score relative to that interviewer's past scores, rather than the score itself.)
3. The above point, repeated for job performance.
4. When a candidate with a lower score gets hired, they're more likely to have something that offset these lower scores. The data set of people who got hired is {people who interviewed well and had good or bad resumes} + {people who interviewed just okay but had great resumes}. When you correlate interview performance of those who got hired, the lower scores in there are skewed towards people with great resumes (or referrals or something else). That factor could totally eliminate any correlation between interview scores and job performance.
But I didn't see much there that should surprise anybody other than several versions of "Don't panic", including:
"Don't panic -- everybody else looks imperfect too."
and
"Don't panic -- you're being judged on how well you perform under pressure."
1. The time commitment issue.
2. It allows a company to give a bunch of "interviews" (assignments) even for candidates they aren't serious about. It can waste a lot of candidate time.
3. There is so much cheating on these that you really can't use it for evaluation. It can really only be a screening tool (which makes 4+ hour assignments really unfair).
4. It primarily evaluates current skillset, not how good they'll be with a bit of training. It's the latter that you care about.
5. They're generally given with little thought about what the company really values. It's typically "uh, gee, we do iOS, give them an iOS app." These projects generally aren't very good at narrowing in on very specific things, like problem solving skills.
6. You don't get a lot of context about why the candidate did things a certain way, and how they would have done things different with some guidance. 7. The results vary dramatically based on how much time a candidate spent on something.
... among other issues.
#1, #4 and #7 are issues with traditional interview as well.
#4 It's incredibly difficult to accurately assess potential during an interview.
#1 and #7: This holds true for white-board interviewing. Most successful candidates (including myself) invested time to practice coding interview questions. I did over 150 questions on LeetCode and it dramatically increased my interview skills. But I guess the upside is that these skills are transferable across companies who do algo/ds interviews so my prep time isn't "wasted".
I think #3 is the only thing thats inherently an issue with the project/assignment interview.
#2 -- yes, this is about the hiring manager. But as the candidate, you don't really know what's going on. So it really is specific to the homework interviews.
#3 -- This is a really, really big deal. You're trying to assess people based on homework... that might actually have been done by their buddy.
#4 -- Less true about coding/algorithm interviews. These are focused more on intelligence/problem solving, which is getting more at potential.
#5 -- Absolutely this is about the hiring manager. But it's also very difficult for a homework project to focus on one things (like problem solving skills). The cheating + lack of discussion makes this hard.
#7 -- Time spent makes a MUCH bigger difference for projects than for whiteboard interviews. A 1 hour project vs 20 hours will look very different. A bad candidate with 200 hours of prep will still be worse than a good candidate with 0 prep.
You think you hate whiteboard interviews? Imagine having to to 15+ different take home assignments for different companies before you even get a chance to talk to a person.
Where it comes to taking a realistic look at what it takes to be hired at google and other top tech companies, I think you give great practical advice. I've recommended your book and blog to a lot of people.
Here's a summary of something I've posted elsewhere on HN, and I'd be interested in your angle.
It goes, essentially, like this. Technical interviews are, for all practical purposes, difficult oral whiteboard exams. Lots of professions and academic programs involve some kind of exam
Here's my objection to it - software tech interviews are essentially exams taken with little to none of the courtesies often extended to exam takers in other areas. I'm hand waiving a little here, but I do think that there is a kind of bill of rights that evolved between people who give important entrance or exit exams, and the people who take them.
For example, in the world of law, you (generally) must take the LSAT, and a lot is riding on this test. However, you get to see and review old tests. You have assurances that the test will be consistent across other candidates. You get a copy of the test you have taken, which will eventually become available to the public. You eventually get to know what your score is, and why.
On your way out, you take the bar exam. People study a very long time for this, and many consider it to be one of the more stressful events of their life. But again, there is information about who is grading it, what it contains, what your score is, and why. And lastly, it leads to a permanent, lasting credential respected in the industry.
This is just one example, but they often come up in other areas. My opinion is that one of the reasons we have technical exam/interviews is that our industry lacks a common and respected credential and exam.
I'm not necessarily arguing that there should be one, but keep in mind how stressful and how much prep these exams do take. An interview at google can take place over several days, and may involve relatively grueling technical tests, all at a whiteboard, where people worry about freezing up.
You don't get to know who is testing you, what their credentials are, and whether they are doing this consistently and fairly. You aren't even allowed to discuss the questions - you're typically under a nondisclosure agreement! You don't get to know how you did - my understanding is that google has numerical scores and screen captures of what I wrote on the whiteboard, but I'm not allowed to see them or know what they are. I understand much of this is motivated by fear or lawsuits, but all we really get, after waiting, is a "we've decided not to pursue your application further at this point". And if you do pass, it's known only to that company - if you interview elsewhere, you can't take these results with you. You have to start over again.
I really do think it's just too opaque, and the secrecy is just too conducive to abuse and bias. And keep in mind, this is in an industry/job category that both complains about a shortage of candidates and is not impressive where it comes to diversity in many job categories. Could the opacity and capriciousness of exams be playing a role in this?
Again, I'm not against exams like the ones google does at the whiteboard, I see the value. But I think that the conditions under which we take these exams are a problem.
If you're willing to offer your thoughts and take on this, I'd be interested in hearing them. Thanks!
I do agree that lots of companies create bad interview processes -- for coding interviews and other interviews. Those issues should be addressed.
To an extent, you have addressed this - in a blog post a while back, you reviewed some of the other options available to a compnay trying to hire, and none are especially compelling or necessarily preferable to a technical exam style interview.
Here's the thing, I'm not just focused on clear abuses - bad question, bullying attitudes. I think even when "well administered", the customary technical exam interview itself may in fact be harming the industry pretty seriously. I think it's sufficiently onerous, intimidating, and secretive that it may be driving away talent. And I wouldn't be at all surprised that it tends to drive away people don't feel they fit the mould of the standard Silicon Valley developer at an even higher rate.
I'm starting to think this is one of those tragedy of the commons situations where each individual firm is acting in its best interest by giving candidates rigorous technical interviews - but the aggregate result ends up deterring people form applying for new jobs or perhaps entering the field at all. Imagine if you had to re-take the bar exam every time you changed law firms - and the only people who would know if you passed was the firm evaluating your candidacy! In many ways, that's what we have in software.
I really do think this drives a lot of potentially good people from our field. You mentioned in a blog post that taking time off to do take-home projects may deter women and others with family obligations from applying - but surely that's true as well for taking off 100 hours to study for a tech exam, especially one you might not pass (and if you don't, will never know why). People might be more willing to do this if there was a better process that ensured a fair hearing, a less secretive, more transparent approach to technical exam interviews.
So, I'm asking, maybe we should step back for a moment and ask how we, as people who buy into and use technical exams, may be collectively contributing to a real malaise in our industry, one that creates a problem for everyone, but perhaps an unusually severe one for the very people we're saying we are trying to get into this field.
I certainly don't think that there's an easy answer here, but perhaps our industry really does need some outside regulation, or a professional association that can administer exams in a way that is more transparent, or at least some set of standards. For instance, perhaps non-disclosures that might mask discrimination should be illegal or unenforceable? Perhaps companies and others should be obligated to share scores and reviews of candidate coding exams?
I can see big problems there as well. But I really do think the situation, as it stands, is pretty bad.
* Version control - what kind do you use? Do you use it?
* Deploy process - how do you deploy? How often? Who can and can't deploy?
* Security - who has access to mission critical systems? how do you secure your apps and network assets? What do you use for secrets management?
* Problems - what is the burning technical problem you're having right now? If you needed something fixed immediately, what would it be?
You should also buy a bunch of books and section off at least a month to study. Especially if you don't have that CS degree. Hope you don't have other obligations like a family or a demanding job.
You should also spend a lot of time doing coding competitions even if you find them boring because you got into engineering to build cool stuff- not solve abstract academic CS puzzles.
You should also practice coding in environments you would never use in real life - like a whiteboard. Every single software engineer on the planet codes in an IDE - but no, you will use a whiteboard. You haven't written by hand since like 2012 so your writing looks like a child's scrawl - better work on that too.
Good luck!
2. Yes, I understand that interview prep might interfere with other obligations. You don't have to study. But it'll help you. I'm not sure what you expect here. Do you want companies to hire based on how smoothly you're able to bullshit about what you can claim to have done in the past?
3. Sure, you could do coding competitions if you want. That'll replace existing interview studying; you wrote your comment as though that's in addition to your previous studying.
4. Yes, true, you don't code on a whiteboard. But this, in and of itself, doesn't matter. What matters is whether whiteboards are more predictive and whether they create a better candidate experience. So, forget whether it's "real world" or not. Whiteboards have their pros and cons. The major benefit of a whiteboard is that it allows a candidate to not get caught up in details, like the exact syntax for some function (who cares?) or writing in all the details of some trivial thing just so it can compile. It allows us to focus on the big picture. It encourages more thought process and communication. On a computer, many candidates just shut down -- they try to get things out as fast as possible, and they stop thinking about what they're actually doing.
5. You do not need to work on your handwriting. I've done A LOT of interviews and this has almost never been an issue.
I just went through a job search and I didn't find this true. I think the bar on algorithms has raised significantly with all of the prep material (your book included) out there. I also found a few companies sent over "things to study" lists that were quite comprehensive and included topics that you might not even see in undergrad.
>I'm not sure what you expect here. Do you want companies to hire based on how smoothly you're able to bullshit about what you can claim to have done in the past?
I think this is a false dichotomy. I had two friends that just interviewed at Stripe and loved their process: https://stripe.com/jobs/engineering-onsite.pdf
This is about 2 months of practicing an average of 2 hours a day, meaning you're still working a day job. I figure this could be reduced to 1 month of prep if you quit your job and have all day to yourself.
These Cracking the Code interview type interviews are not even close to what we do all day everyday.
1. Obviously you have a lot of experience with this but I just can't see how a week is anywhere near accurate judging from my personal experience, people I've talked to, and the numerous online stories of people's personal experience.
2. To be honest, I kinda expect the world's smartest organization to find some better way to evaluate talent. Google says they want diversity but requiring a month of studying isn't going to allow for that. Their process throws false negatives on a lot of people that could otherwise be great engineers (which they largely admit to).
3. They're different skillsets. One is about knowledge, the other is about memorizing question patterns and practicing implementation speed.
4. Does Google have data here? My experience is a lot of candidates shut down at a whiteboard because it's not what they're used to. They're afraid to experiment or erase or use longer clearer variable names because of the overhead of writing by hand and dealing with space limitations. It's a lot more messy to modify and extend code you've already written.
5. No, it's really bad. It's like this weird mix of cursive and small caps. I'm not sure what is going on.
2. Yes, it does throw false negatives. Lots of people get hired with zero prep though. I generally say about a month of prep is where you hit pretty low returns from more time. But that doesn't mean that you need a month, or that a month will be enough for you.
3. I'm not sure I see your point here. If coding interview prep is a different skillset from coding competitions, then you wouldn't do coding competitions in order to do interview preps.
4. Some candidates do shut down because it's not what they're used to. A well-trained interviewer can mitigate this to some extent (not always). Some people will also shut down at a computer. Interviews will always be an artificial environment and people can freeze for different reasons. At a whiteboard, it's often a bit easier to unfreeze candidates and create a happier atmosphere.
5. That's fine. As long as I can read it, it's fine. And if I can't read it and you can explain to me what you're writing, that will also work.
Fine. I know this. Will this give me a job? No
>> Yes, I understand that interview prep might interfere with other obligations. You don't have to study. But it'll help you. I'm not sure what you expect here. Do you want companies to hire based on how smoothly you're able to bullshit about what you can claim to have done in the past?
No. I want to be hired for the skills I'm bringing in and not for my ability to solve toy problems on a whiteboard.
If the interviewer cannot filter out bullshitters, the interviewer is incapable of the "job of interviewing". Maybe hire better interviewers. Why is the burden on the candidate?
>> The major benefit of a whiteboard is that it allows a candidate to not get caught up in details, like the exact syntax for some function (who cares?) or writing in all the details of some trivial thing just so it can compile. It allows us to focus on the big picture. It encourages more thought process and communication. On a computer, many candidates just shut down -- they try to get things out as fast as possible, and they stop thinking about what they're actually doing.
I agree with this, only so long as the interviewers don't fret about some stupid edge case. Why is there an expectation of perfect code in 15 mins on a whiteboard? Who does that in production?
The interviewer knows about these edge cases because they've seen the problem before. But I can guarantee that the same interviewer would not be able to 'perfectly' solve some problems that I pose them without having seen them before.
Which brings me back to the question. What is the point of the coding interview (or perfection in coding interview) if the only people who can solve them are the ones who have seen the problem before?
No, it's not about knowledge. The knowledge is needed. But the real focus of the interview is to tackle a new question.
>> I want to be hired for the skills I'm bringing in and not for my ability to solve toy problems on a whiteboard.
The ability to see a hard problem, develop your own solution, and translate that into code is a pretty important skill. "Skills" aren't all about knowledge.
>> If the interviewer cannot filter out bullshitters, the interviewer is incapable of the "job of interviewing". Maybe hire better interviewers. Why is the burden on the candidate?
It's a lot more complex than that. It's not just about filtering out bullshitters. It's also about identifying people who might be great but are unable to talk about it. There's also lots of people who are great but haven't been in situations where they've been able to tackle interesting challenges (either because of their inexperience, industry, etc). Or maybe they've done interesting things but in a related field that's hard to understand.
But, yes, absolutely train interviewers. (Interviewing isn't really a role that you hire for.) But even a very well trained interviewer might not be very effective in a behavioral interview.
>> I agree with this, only so long as the interviewers don't fret about some stupid edge case. Why is there an expectation of perfect code in 15 mins on a whiteboard? Who does that in production?
There generally isn't. What an interviewer should be looking at is not some sort of percent correct element. It's about signal. So if a candidate is totally unable to understand an obvious, that might worry me. The signal the candidate is sending is a poor understanding of details. (Or, maybe not. It depends on the situation.) What I train interviewers on is that correctness in and of itself is not relevant. Why a candidate was correct or incorrect might be.
>> The interviewer knows about these edge cases because they've seen the problem before. But I can guarantee that the same interviewer would not be able to 'perfectly' solve some problems that I pose them without having seen them before.
The interviewer is comparing the candidate to other candidates on the same question. So if a candidate is getting rejected because they failed to be perfect, this means that other candidates are actually getting to perfect solutions. Or you just have a crappy interviewer who rejects everyone.
>> Which brings me back to the question. What is the point of the coding interview (or perfection in coding interview) if the only people who can solve them are the ones who have seen the problem before?
If that's the case? Nothing. But that's not the case.
I want to work for a company that doesn't start with the assumption that I'm a liar, yes.
Going further, it'd be nice to have a company that basically knew what they were looking for, and knew how to evaluate that in a casual conversation.
Don’t. Give. Up. Ever.
What they’re testing is your ability—and your willingness—to tackle problems that seem completely baffling. They are looking for you to keep working toward a better and better answer. If you’re ever about to give up remember this: The interview process is designed to challenge you, and even the best candidates feel “stumped.” The question is this: What do you do next?
Just when we thought the fad had finally crested on this patently useless, and more to the point, gratuitously toxic style of interviewing... here's another puff piece to keep the cargo cult going for another 12 months or so. As if the interviewers (themselves most likely just a couple of year out of college) could even hope to simulate the pressures of genuine, real-life, high-pressure technical or operational dilemmas through the device of a made-up puzzle problem or two.
Especially since, about 97 percent of the time, the quality and caliber of grit that brings the most value in business environments isn't of the "solve this made up problem, which I know the answer to (but am hiding from you so I can, you know, watch you think on your feet) -- or hit the road, Jack" variety. But rather of the "no one has any idea where this problem came from yet, let alone whether it's even really solvable" sort. And for which the most effective response, in the vast majority of cases, is decidedly not to go down the next immediately visible rabbit hole and fight the problem to the death... but rather to find a way to avoid going down said rabbit holes in the first place. (Typically by revisiting the stated requirements, and finding what the true customer need is, for example).
And if people think they can simulate these kinds of dilemmas -- let alone "test for" a candidate's ability to tackle them, in an interview context... frankly, they're kidding themselves. Which, being as the true "purpose" of these questions seems to be to buttress the egos of those asking... is apparently perfectly fine, in some quarters.
I assure you that the purpose of these questions is to identify good engineers. You might think it fails to do so, but that is the purpose.
The place where evidence is needed is in support of the hypothesis that these questions actually work (in favor of achieving their stated ends). That is, the question to ask should be:
"Do any of these companies asking these questions have actual evidence that they actually work?"
I grant that many people who ask (overdrawn, larger-than-life) questions like these probably believe that they help identify good engineers. Whether these questions actually achieve that goal is an entirely different matter.
I stopped reading at this point.
How arrogant to expect you to gift your unpaid free time for the privilege of working there.
I agree that companies shouldn't demand side projects. However, if you're having trouble getting noticed, it can help.
Personal projects are there to help compensate for an otherwise lacking resume. If your resume is on point, you don't need them.
Nine-to-five is absolutely enough if you are a diligent and thoughtful engineer.
When I talk to a company about how to create a hiring process, I tell them that it's unfair to expect side projects from candidates.
Build something on your own.
Nine-to-5 isn’t enough.
Practice, Practice, Practice.
Single parents or carers need not apply, eh? Diversity?Some companies want to attract people who spend 40 hours a week on their job and nothing more and that's OK. Other might be out of reach unless you spend many more hours learning every week and that's OK too.
Whereas people are spending their free time with their kids or learning or watching television it's up to them.
> Whereas people are spending their free time with their kids or learning or watching television it's up to them.
If you're a single parent then you don't necessarily get a choice about what to do with your "free" time.