159 points · by luu · 5y ago · 385 comments
The normal tech interview questions about sorting or recursion or whatever are not supposed to be business-relevant questions, they are to filter out people who simply can't program.
The industry is awash with candidates with ok-seeming resumes, that get through HR screening, but then fail miserably at the tech interview to solve something like fizzbuzz.
My anecdotal experience is that you never want people who can't write a for-loop or whatever in your team, whatever you are doing!
The tech interview with the ludicrously simple questions are all about finding people who 'get it', and are actually effective at it. Which is why it persists.
The good news is there are interviewers like me who have been lucky enough to be in the position to hire people on the strength of them being able to work through things in pseudo code even though they are not familiar with any programming languages. I keep interviewing and hiring physics grads on the strength of their excellent problem solving skills, and they all learn to express that in programming languages in short order once they are hired and they have found employment as a programmer...
I've said it many, many times, here. If a candidate has a portfolio, you'd be absolute idiots to ignore that portfolio.
Or deliberately ignorant, as the decision has already been made, not to hire the candidate (for reasons that have nothing at all to do with their tech abilities), and no one wants to waste time, reviewing a portfolio.
I'm biased, here, of course, as that's my strength. I have a fairly substantial portfolio.
A portfolio makes it much easier to evaluate real world skills and capabilities. If a candidate sends a link to a sample project or OSS product they've worked on/developed, it's not particularly difficult to review the example, and then ask the candidate a bunch of questions about it. I've found that the conversations that arise from this kind of thing can be amazing.
But this won't work for managers that have a hundred résumés on their desk, and have maybe five minutes per candidate. As that was never my own experience, as a hiring manager, I can't speak to it. I rarely had candidates that had significant portfolios, and treasured the ones that did.
In my experience, it usually took about two minutes of casual conversation, to figure out if the candidate had potential, or was simply a jargonaut.
I think that is the thing. The vast majority of software engineers have only worked on closed-source codebases so reviewing their previous work is impossible. That said, what I have generally done is to just use interviews to talk about previous work. It is usually pretty clear in the course of a 30 minute interview who has actually done the amazing things they claim on their resume and understands how to build software systems and who doesn't.
That's also something I keep hearing in anecdotes.
Unique talent was what I was specifically looking for. Since my company paid "competitive" (i.e. "low") wages, I had to look for "diamonds in the rough." We did interview some highly qualified people, but they tended to defer, when offered.
I feel that I was quite successful, and kept highly talented engineers for many years, but it made the search challenging.
"Cookie cutter testing" wasn't even an option. I'd have been crazy to ignore every advantage each unique applicant had to offer.
Also, there's nothing stopping someone from copy/pasting entire projects into their portfolio.
I would totally ignore someone's portfolio when interviewing them.
Fortunately I've yet to run into this once I spent enough time as a mid-level developer and became senior. If it's any ray of hope for younger developers out there, you will get to a point where you basically bypass all that crap and interviews can be more like a friendly chat between peers.
In a couple of instances, it was a sensible, applicable “take-home” test, but usually, it was a schoolboy binary tree test.
I interview very well (on account of over 30 years of relevant ship experience, and I’m actually a fairly decent chap), but it has never gotten to that point.
BTW: if it isn’t already obvious, I’m quite senior, and have been architecting, as well as writing, software, since my very first project, in 1987.
I was quite willing to work for a lot less than many folks much less qualified, on account of having my retirement set, and was looking for interesting and engaging work, more than money; but it never got that far.
I won’t waste time practicing LeetCode. I don’t think it would make any difference, simply putting off the inevitable rejection. It’s not something that helps me to write better shipping code.
I ran a UI team for 3 years, we built a UI framework, then the UI and apps on top of it.
We lived trees and tree traversals. Understanding trees was essential to everything we did.
Do I ask people to balance trees? No, but I do care if people can understand traversals, and also how to manipulate and design tree structures to solve business problems. Being able to design the right data structure to solve a problem is an important skill, and trees are one of our fields fundamental data structures.
The thing is, companies don't want to employ any random person who can code and meets the minimum bar, they want The Best™ - and that's when things get competitive, and arbitrary.
This is the other side of the coin to a recent HN thread (on pay transparency/whether tech workers are interchangeable[1]). My thesis is if you agree that some are many times more productive, the so-called 10x - and you want to hire those: then you need to test for that in the interview process, hence the exploration of the less-visited areas of Data Structures & Algorithms. If any engineer who meets the minimum requirements will do (i.e. fully interchangeable), then anyone who can pass FizzBuzz and is familiar with the tech will do. Most companies are in the latter group, but tell themselves they are in the former, resulting in the current explosion of "Change this unsorted linked list into a balanced tree with the least time complexity" questions.
> If a candidate has a portfolio, you'd be absolute idiots to ignore that portfolio.
I'm guessing only a minority of candidates have a portfolio before applying for a job. Most of SDE output belongs to their past employers, so expecting portfolios will also filter out a whole lot of people who can do the work, and I'd rather grind HackerRank than hastily build a portfolio just to apply for a job.
I can usually do … OK … on these tests, but I’m probably mediocre, at best, as it’s often the first time I’ve encountered the test.
I tend to write naive code at first, and make sure the result is solid, then optimize. I will sometimes also experiment; trying out all kinds of harebrained stuff, before settling on even that “first try” code.
That workflow has worked extremely well for me, in my vocation, but does not present especially well, in quick whiteboard tests.
My workflow results in very high-quality, performant code, but iteratively. Also, not all code needs to be optimized. Sometimes, leaving the naive code, means it is more maintainable. I also habitually document my code as I go, which has proven unpopular, with testers.
People just out of school, or who spend hours each day, practicing LeetCode, will usually come up with an optimal solution, done the way the tester expects, first go.
I don't know if I've ever done that. The Apple OS framework has a lot of those tools, built-in, and it wouldn't make sense to circumvent them, unless I was writing a cross-platform "engine," of some kind.
If you were interviewing as a device control engineer, then a minimum, would be understanding of things like ring buffers, thread contention, asynchronous callbacks, timing diagrams, etc.
If you were interviewing for work with Apple device development, then knowledge of Core Bluetooth, as well as basic Bluetooth, would be important. WiFi and networking might be useful. Maybe BSD sockets, USB, etc.
If it were as a UIKit app engineer (classic native), then understanding of the various widget types, delegates, data sources, etc., as well as the six gadjillion different "extra spice" features that each widget has, as well as the proper way to do things.
SwiftUI is gonna add a lot more facets, as it's built around Protocol-Oriented Programming, and a rather "reactive"/KVO model that differs substantially from the "classic" model. I have yet to do a "deep dive" into SwiftUI. I plan to tackle that, once I have the app I'm working with at a ship level.
And, of course, an intermediate-to-advanced familiarity with Swift would be expected, as well as the Foundation framework.
Not right out of college and don't balance binary trees every day? Submit a portfolio to review.
Don't have time or permission to write open source code outside of your paid employment? Well, let's see if you can balance a binary tree.
Both of those are bad? Well how about a take home exam you will need to set aside time from your schedule to complete.
Seems like the perfect interviewing process would have multiple avenues for a developer to demonstrate they can actually program. Of course, that requires the company taking the time to set up a process that can evaluate candidates across all these evaluation methods and somehow compare them fairly.
Benefits:
- Employer: by scanning for resumes with this license, the employer saves time and money that would instead be spent on technical LeetCode-esque interviews.
- Employee: a singular license would make you more attractive and compel a higher salary. You wouldn't have to grind LeetCode for 3 months before a job hunt.
In my "utopia", FAANG/S&P 500 companies + universities (MIT/Harvard/Stanford/etc.) would band together to form a third-party committee and standards board that would design and proffer this exam. Having those big names in charge would give it instant credibility and make it the de facto S.W.E. P.E.
I literally had to ask a guy why a group of 5 of them all had the same fucking letter for letter resume...
Ask.idiotic.questions.to.weed.out.the.base.morons.
However, I still think you're pretty badly missing the point:
(1) Algorithm coding challenges test whether a candidate has the ability to go to the internet, research and get good at a technical skill. That is absolutely an appropriate thing to be testing.
(2) Algorithms are a beautiful cornerstone of our profession. Perfectly reasonable, and kind of nice, to use them in our hiring processes as described in (1).
In my experience, there was never any "go to the internet, research and get good at a technical skill." during the interview. That would have been nice. It was "Sink or swim, right now, while we laugh at you," So I guess that you mean I should dedicate an hour or two per day to LeetCode, like a lot of folks do.
Why the living heck should I "go to the internet, research and get good at a technical skill" that has no applicability to the work I do, every single day? I learn what I need, when I need it. You don't want what I have? Fine. You won't get it. I worked long and hard to be in the position I'm in now. I don't need to "play the game," as I have real work to do. I don't really care whether or not I make money at it, or impress anyone. I don't need anyone's approval or validation for the work I do. The people that matter, are quite aware of my capabilities. They see what I do, and use my work, every day. I have done two TestFlight releases already, this morning.
I don't know how to do just about every project I take on[0]. That's S.O.P. for engineering. I've been working that way for more than thirty years. I've learned a lot. Sorry if it isn't what some people think is important, but I have been delivering and shipping software, since 1987. I've worked for some pretty intense organizations, and they seemed to be happy with my work. I've written stuff that is in use -every day- by thousands of people, in multiple languages. There's a small chance that I might actually have a clue.
I write code -lots of code- Every. Single. Day. Don't believe me? Look at my GH ID[1]. That's not "gamed." If anything, my tagline should be "Don't believe me? Look for yourself." I can back up every word I say. If I'm wrong, I freely and promptly admit it.
For example, today's task is learning the proper way to set up an edit session for a particular type of user interface. I haven't done it before, and I'll be "go[ing] to the internet, research and get good at a technical skill," in order to get the job done. It will probably take me a day or two to get good at it, and apply it. I do this multiple times per week.
[0] https://littlegreenviper.com/miscellany/thats-not-what-ships...
For example I as a full stack web dev, never write sorting, very rarely search / string or scheduling and so on. However I happen to like puzzles and coding challenges, so I do them fairly regularly on a Sunday. Do people want to select based on hobbies?
Actually tricky stuff (tricky as in I have to think more deeply and do actual design) I have to do includes for example:
- caching and synchronization
- concurrency/asynchronicity issues
- deep SQL queries
- schema (DB/API/UI) design
- tree/graph traversal
- refactoring and code design
- breaking down (deeply coupled or complex) features into sensible tasks
- (declarative) state machines
- asking the right questions about an unfamiliar domain and deriving the right abstractions and data structures
- error handling, invariants, correctness...
Those apparently rarely come up in the types of questions that for example leetcode et al suggest. It's typically "A&D with a twist".
But I've also been in technical interviews where the problem was used as a discussion point, rather than a challenge, and I get that use case - though "let's build a web server" might be a better problem to solve collaboratively.
I'd also say 90% of medium and hard questions are exactly what you said, relying on a relatively obscure algorithm.
The grads probably aren't aware enough to know the difference, being new grads. And I'd wager that's why you're targeting them.
With no specific language requirements (pseudo code is totally fine) and they can't even write a for loop. We ask to see how they approach the problem, not to get a perfect answer. Ask questions about it, talk through your reasoning, work with us on it. Not worried about off by 1 or specific syntax, just getting to know them and how they work through a problem.
We tried hiring a few people who didn't perform as well on this, and it was a mistake every time. And anyone who had no problems with it was always a good hire.
Now, obviously there is a problem with the screening process when people who can't actually write a for loop get through it, but until that is fixed, you have to filter them out somehow. How have you approached that in the past? I would honestly like to know how to fix it.
It's perfectly possible to be a 10x engineer but not being able to solve some obscure recursion problem on a whiteboard. All it does is forcing candidates to study obscure problems before the interview and hope they get lucky and receive a problem that they have memorized so they can pretend to have never seen it.
The simple fact of the matter is, is that if you can't 100% solve the problem, in 30 minutes or less, without asking questions related to how to construct a solution, and cover all edge cases, and come up with the absolute top-tier optimal solution, you're getting rejected.
That is why it's worthless as an interview technique. Everyone plays this whole song-and-dance about how they "just want to see how you approach a problem you might not know how to solve" but, in the end, the only thing that matters is regurgitating the top leetcode solution to the problem.
And pretend that their judgement is any better than coin tosses.
If I am ever exceedingly bored with my life I'll start applying for some jobs just to throw some shade in the form of "the brightest minds of psychology have failed at doing what you are trying to do, with far more resources and time dedicated to it... why do you think you can do it?".
These puzzles say nothing about a candidate's problem solving ability, they're just monkey tricks that can be rehearsed.
Who is smarter; a candidate who can solve a Rubik's Cube after seeing it for the first time or someone who has rehearsed it hundreds of time and knows the algorithms? It's not even fair to compare these two people, the former is unequivocally a very intelligent person and the latter could potentially still be an idiot... This is true even if the second person could solve it in one tenth of the time in front of an audience while blindfolded and riding a unicycle across a plank suspended in mid-air above crocodile-infested waters.
And this barely scratches the surface of what's wrong with tech companies' hiring processes. This puzzle-solving ability is overvalued and the ability to design/architect good systems (I.e. seeing the big picture and using common sense) is extremely undervalued.
- the ability to code with quality
- the ability to learn and grow
- track record to deliver business value
In my experience, people are wasting too much resources on interviewing. And the process is never meant for more senior positions. Engineers don't like it, and the outcome cannot be falsified (what if we hire someone with a light weight process, would it turn out worse?) I am saying specifically about interviewing, as opposed to hiring in broader sense. What you want is a process that evolve with your demand/available resource, not hardcoding of 2 sessions of coding (oh and with shadowing, so to grow interview skills of the team, of course!), 1 session of architectural design, 1 experience deep dive, whatever. Is this topic something people are interested in though? I might try to write up the thinking behind our process
A strict interpretation of "deliver business value" implies that your candidate needs to have worked on the right piece of software to begin with, and have an idea how their work actually affected the bottom line.
That kind of thing is mostly outside of anyone's control. If you ask your candidate to demonstrate how they've "delivered business value" in the past, you're basically asking them how lucky they were.
This sort of question is mostly asked to understand if you know/care how your work impacts the bottom line.
Honestly I'd be ok with an answer along the lines of "I got moved onto a project that, for $reason, had no chance of ever seeing the light of day. It was obvious why it wouldn't survive, but the business needed to keep it alive because $other_reason. Even though we never shipped, we met objectives $x and $y, we struggled with $z, and we learned quite a bit about $w. After the project was finally killed, we were able to apply what we had learned to other projects."
This at least demonstrates that the candidate understands how the project related to the business, how they can relate some of the technical aspects to business processes, how they acknowledge their failures, and how they extracted some success from a failure to apply to future efforts.
It allows us to have a conversation about different aspects of the project -- technical, business, interpersonal / political, etc.
I've been on projects across the spectrum from "never-shipped death march" to "mature cash cow", through various levels of team & management dysfunction, and I probably learned as much from the horrible failures as I have from the successes.
E.g. I’m pretty certain you’re not advocating for hiring developers who can’t have a civilised disagreement, yet you don’t list anything about collaboration or communication or ability to put team before self in pursuit of a common goal.
Hiring well is hard to do fairly and accurately. There’s no pithy shortcut that can be wrapped up in a blog post.
About the best I’ve managed to go in 15 years of hiring is recognise that i have biases and recognise that I’m not always that good at seeing my biases.
No downvotes from me, friend.
I get what you are saying, but I wish my tech interviews ludicrously simple. They tend to be the opposite, and it seems to be worse when you are a front end UI engineer. Not only do I need to be up to date on the new new javascript hotness, I need to be able design twitter's back end architecture and implement min / max heaps on the spot on a white board (now in coder pad, hacker rank or, even worse, google doc) in about 20 mins or less.
That's asking a lot.
The problem is they also filter out people who get nervous during tests. I'm someone who marginally failed a programming test and am now one of the most in-demand developers at my company (where I failed the test). The tech director who rejected my failed test has since told me not hiring me to his team at that time was one of the biggest mistakes of his career and I've also heard he's stopped being a believer in programming tests because of my application.
I've also been involved in hiring decisions and I've hired people who have bombed programming tests (and in ways where it was clear they just didn't grok the logic they should have). They've also been perfectly fine contributors, because our test questions required knowledge that wasn't going to be relevant (a CRUD-gluer doesn't really need to be proficient with geometry).
I still believe programming tests are useful, though. In the hiring I've done, it has been one factor to discuss during the interview. We always give developers a take-home test and then discuss the results in the interview. If they messed up, we illustrate where their solution is wrong and see if they're able to reason through the problem. If they didn't mess up, hey, that's a great sign.
If we can see them really start re-reasoning through the problem, that's a good sign that they (a) don't take programming failure personally and (b) are the sort of person who will re-evaluate what they think they know. On the other hand, if they just throw up their hands and give up without really giving the problem any extra effort, that's a bad sign. Our reasoning for this approach is that everyone writes bugs, but nobody gets to give up when fixing bugs.
As an aside, we've never tested someone who just couldn't write a for loop at all, so it's possible our hiring pool is different and so our needs/solutions are different.
And for context, the take-home test questions we use (they're always the same and they're not a secret) are:
1. Given a rectangle and a point, write a function to determine if the point is within a certain distance of the rectangle.
2. Given a string, write a function that determines if any permutation is a palindrome (this one's for the over-engineers who don't first think through the problem)
3. Write a CLI dice game where the computer cheats to maintain around a 70% win rate (there are some basic rules for scoring I'm leaving out for space - this one people rarely get totally wrong, but talking about why they picked a particular cheating mechanism can be enlightening).
If len(word) is even, check that all the characters in it appear an even number of times.
If len(word) is odd, check that all the characters in it appear an even number of times except 1.
has_palindrome(word)
s = empty_set
for c in word
if s.contains(c)
then s.remove(c)
else s.insert(c)
return s.size() <= 1
If I'm not allowed to depend on an existing set implementation, I would likely fall back to a quadratic solution that counts each character. If there are special performance concerns I may sort the word before hand, or implement a special kind of set.The crux here is to notice that the order of the letters in the word we're given does not matter (because of the "any permutation" part). So it must be a matter of counting the letters. GlennS got it right: https://news.ycombinator.com/item?id=28550511
The second insight was that only the parity of occurrence mattered. Having 2 or 4 or 6 times the same letter is the same as not having the letter at all, so I only have to retain "zero" or "one" for each letter. Sets are perfect for this: "zero" means "not there", "one" means it's there, and at the end I can tolerate at most one odd letter.
Up to what point? Are you going to ask a 20 year veteran of the industry to be performative in order satisfy an entry level screening?
It is especially important to do this if they have not touched code in previous positions over the last 5-7 years. Otherwise, the business runs the risk of this veteran throwing their weight around on the engineering team and mucking up a production codebase two days before the release date, which could cost the company serious time and money depending on contractual obligations.
My biggest problem is that it doesn't have any correlation to the actual job. Coding on a white board, under stress, with multiple tech and non-tech people watching you, with a sub-30 minute time cap, with no access to the internet or debugging tools other than an interviewer who may or may not just be trying to look smart to the other people in the room, is almost entirely the opposite of what an SDE does day-to-day.
I've worked with people who were fine programmers and when I brought up FizzBuzz had no idea how to solve it. Solving programming "puzzles" is completely different than day-to-day work, especially at small non-startup shops, where you're doing line-of-business stuff and maybe a new project every 5 years. It's maintenance 99% of the time. You don't need to know how to reverse strings to implement a recursive sliding window function.
This is how we've done hiring at my current company so far and it's worked out better than any of the places I've been that used puzzles or language trivia.
1. As always, lean on your network. 1st- and 2nd-level connections will already have a lot of previous vetting completed.
2. Interview primarily for team fit. You can teach people technical details easily if they're otherwise qualified. You can't teach someone not to be an asshole, and having an asshole on the team will drive away good people who don't want to deal with it.
3. Have a very clearly communicated probationary period. We use 30 days but honestly 2-3 weeks is plenty. If things aren't working out, cut them in this period.
4. As part of #3, check in a lot more than you otherwise would during this time. We do a management one-on-one every two weeks, so we'll do daily technical one-on-ones during the first week or two of onboarding. We've let one person go during the probationary period because of performance and without these meetings it would've taken weeks longer than it did.
5. Have onboarding. Docs, calls with a defined itinerary, whatever. But don't just drop people into the thick of it if you're doing this type of interviewing.
6. Actually request references and talk to them. You'd be surprised how candid former managers will be about someone's previous performance, even when they're not supposed to be.
I would not categorize FizzBuzz as a puzzle. It is one of the most straight-forward ways to test for an understanding of iteration and selection. Those are fundamental building blocks that all programmers must know.
Your point about anxiety under the unusual pressure is valid. However, I personally find that to be a useful datapoint in the interview process as well. This is especially the case for a startup with time pressures or a role that may interact with customers. Otherwise, the onus is on the interviewer to set the applicant at ease.
I've had successfully interviews where everything flows, and I've had awful interviews where my head inexplicably seizes up. All I'm saying is that the anxiety of interview pressure has very little in common with the anxiety of time-pressure, as far as I can tell. I would take it more as a signal that a person should not be put into negotiations (because that's what an interview really is), rather than that they do not perform under time-pressure.
The modulo operator is rarely used in practice, unless you're writing your own hash table or some other internal where bucketizing by some ID is relevant.
Using the modulo within a for-loop though, virtually never happens.
So unless you're niche where using modulo every other day, or you're just out of school where you just learned about "+,-,*,/,%" , you have a good chance at failing fizzbuzz if you don't remember it's "that modulo 3 and modulo 5 silly puzzle"
There are better ways of testing for iterating, iterating through a real collection of elements is already much better than FizzBuzz.
I guess I generally agree with the sentiment of your post, but if you have issues reversing a string (brute force) I’m not sure how you’d ever get to sliding window functions.
The core problem is these interview questions are asked without knowledge as to why they're doing it. "It's industry standard" isn't a reason, but it's why binary search tree questions still exist. Some people understand that they're filter questions, but overwhelmingly interviewers think they're real problems related to the job.
If I study (yet again), I can also whip out DFS, BFS, MergeSort, inorder, postorder, find all permutations of a set or string, blah blah blah. Without study, I could code up DFS and BFS with a bit of time to think. But probably not in 45 min at the whiteboard.
If I study a lot (yet again), I might be ready for the kind of questions that have been actually used to screen me out, such was "find all matching subtrees in a binary tree", in 45 minutes, at the whiteboard.
The only way I can reconcile my experience with what you claim to be screening for is that I haven't interviewed with you, and you haven't been at my interviews, and we just disagree about what is typical.
But I've been on a lot of interviews, and I do firmly believe that "fizz buzz" doesn't come within 50 miles of the difficulty level of a typical technical exam style interview. I refuse to put this kind of time into study anymore, since there is no lasting benefit to reloading 2nd year data structures and algorithms into short term "45 minute whiteboard memory", and it so rarely works out anyway. I won't do a 5 hour, room to room series of technical exams. This may cost me opportunities, but eh, my guess is that I wouldn't have gotten these jobs anyway, so I'm really just saving time.
(on a separate note, I recommend you don't start your comment with a pre-emptive dismissal of why people may downvote you. just make your point, reasonable people here will discuss it with you, don't worry about the others).
(Example: given two intervals [a,b] and [x,y], are they disjoint or do they overlap?)
Okay: max(a,x)<min(b,y), using three comparisons.
Better: (a<x)?(b>x):(a<y), using two.
Best: (a<y)&&(b>x), using either one or two.
Experienced engineers know that this is a hard problem and don't mind demonstrating basic competence. If you don't ask me to code, it's a hard pass from me -- your team has no filter.
I go to a tech interrogation and when I ask for clarification on the question, I get an under the breath "jesus christ, I need to explain this to you?" If I don't ask to clarify, I get "Oh, well he didn't ask for more details. I guess he's rushing without thinking! He's bad at communication. Gottem! Next." I can't take a minute to read the question because the interrogator is screaming that I'm not constantly talking. If there's a literal 10 second gap in talking, I get a "Hello? Are you still there? Hello? What are you doing?" You have to memorize the leetcode questions that are always asked so you're able to talk over them. That doesn't demonstrate any skills.
When I get to actual coding, I've automatically failed an otherwise perfect whiteboarding session because I had a lowercase letter instead of an uppercase one. "Ha, gottem! He doesn't know the difference between an object and a variable!"
I'm not the best at writing code from scratch but I'm decent in a business practice. I'm exceptional at improving code from any skill level, and adopt that quality in my own code naturally. This has 0 value during an interview though. The only thing that matters during interviews is how many of the classic pattern questions you've memorized. All the amazing work I've done is invalidated because I can't instantly write a perfect meme code question.
I come on the internet to articles like this for help or to see anyone else who got stuck in my position, and there's always someone like you here. "Wrong. You're not a real engineer because you can't even answer an easy level leetcode question without stumbling on something. I guess you're not a real engineer. You're just a worthless fake person." I've worked with people like you before. I know because I heard this at my last job from dismissive coworkers either bashing interviewees or other people's code they didn't understand (or understand context around, such as a critical hotfix) in PRs.
You people submit untested code on Friday at 5 before going camping for the week and I have to come in and hotfix your sloppy work. I can pick up what you wrote, see how awful your coding practice is, but understand what you were thinking and fix it. However, just because you memorized the leetcode questions or can think of simple solutions to puzzle questions naturally, I guess you're automatically better than me and I'm basically a skilless idiot.
I try to have a conversation about fixing this or how I might be an unusual edge case and the interviewers are all on my side. I get to the interview and everything I said is dropped. I get a puzzle question in a google docs sheet that tests none of my skills. I understand you need to test if people can code, but all these dismissive gatekeeping methods are slamming me and letting people who just happen to either memorize the questions or they live and breath programming and can weasel through it. Those people, I've noticed, are frequently poorly trained in coding and refuse to change their ways.
Even better if I can somehow get to a "virtual onsite" where I likely get to waste 4+ people's time.
If there was a viable solution to pushing for real change in the industry, I'd do that. But there really isn't.
Except FAANG/fintech companies. So I guess you just have to put up with it if you wish to be maximizing income.
> My anecdotal experience is that you never want people who can't write a for-loop or whatever in your team, whatever you are doing!
Your comment shows that this topic has a false assumption.
There is not one type of hiring process. Not even when we talk about algorithm/data structure style coding interviews.
How do I know? Because if you don't know how to do a topological sort and similar algorithms on that level, you stand no chance at FAANG interviews.
I remember the time where I found fizzbuzz doable but difficult. I could do it, I was simply slow at it. When I prepped myself for a FAANG interview, I did fizzbuzz at the end of it for fun since I hadn't done it in years.
The result: fizzbuzz was done very very quickly and I'd classify it as a Leetcode easy.
The thing is, Leetcode hard is a different beast [1]. Therefore, I'd argue it's also a different hiring process.
[1] Here is how I look at the Leetcode difficulty levels (the TL;DR version).
Leetcode easy: can you write a for loop? Do you know what a function is? What about if-statements and variables?
Leetcode medium: can you reasonably think about data structures and write it out in code?
Leetcode hard: do you see the ingenious trick (or tricks) being employed? Do you have advanced knowledge of data structures? If so, congratulations! The hard part is over. You just need to code it out. Example: you need to know this type of stuff: https://www.youtube.com/watch?v=cIBFEhD77b4 <-- It's a good YT channel by the way. After his video series/lectures on graphs, I was able to solve 50% Leetcode hard on graph problems :)
By the way feel free to try to write a sorting algo (preferably not bubblesort) by memory in your favourite language. It will be a good reality check.
> My anecdotal experience is that you never want people who can't write a for-loop or whatever in your team
Yes, you don't. But you don't need to ask them that directly, or have them code live.
How will you know if you don't ask them a question that asks them to solve a small-scale problem that can be solved via a for loop? In our process it takes like 10 minutes. Granted we don't ask fizz buzz, but also we don't ask for implementations of textbook algorithm. Just a simple programming problem or two.
The way I see it is, the most condescending interview for a programmer is the one that contains no coding at all. And if you refuse to implement FizzBuzz, well, that is okay, but I will not recommend you for being hired.
Why is that?
The last two interviews I had involved no coding. Both led to an offer.
In one of them, I demoed a personal project and showed bits of its code. I think it would've been quite condescending of them to have me do a fizzbuzz after I've shown them 10k lines of working code.
The other company didn't even care to see my code even though I brought my laptop.. they just took it for granted that I can code.
Why do you need to ask them specifically to code fizzbuzz? There's nothing magical about it and it's a condescending coding exercise.
Ask stuff about their everyday coding and their favourite language. What's the difference between an Array and a Set (in your language of choice). How do you add an element to those? (if it's your day to day language you should remember, right?)
Tell me about an issue you had to debug. Tell me how (something) works in general. Something basic, no need to go into much detail, but just to see if they get the basic idea and have used it.
Again, who cares about fizzbuzz when you can ask them about http headers, network delays, etc (it will be more job relevant as well). People who can't code fizzbuzz will usually fall flat on those questions as well.
> Yes, you don't. But you don't need to ask them that directly, or have them code live.
I am not being flippant, but why not? Asking seems to be the simplest way to know.
Also, you're making a strong assumption regarding the type of tech questions that OP is asking. You go from fizzbuzz (probably described by the interviewer, not just "do a fizzbuzz") to a sorting algorithm from memory. That's clearly not the same.
My personal experience interviewing candidates is:
At the end of our first interview (discussing their work, projects, experience, what they are looking for in the next 1-2-3 years etc.) I ask a very simple coding question that should take 1 min to solve if they were by themselves, with no complex algorithm and requiring no prior knowledge beside the language they are using. Typically, a fizzbuzz.
To solve that 1 min question, they have 10-15min where they can ask for guidance, help, etc. The goal is just to exclude people who just can't code. And surprisingly at least half of the candidates fail this.
Now maybe this is because our recruiters are not good enough, but this 10 min coding is super useful to prevent wasting more time on a candidate that is not a fit for us.
Why? Some people are very good at talking the talk and yet cannot write basic code. Fizzbuzz is a 2 minute exercise for most engineers I've interviewed (except those who fail it, which does happen) and is generally low stress for the candidate. It's not a trick question or require any mental acrobatics. Do you think you're above it somehow? Why?
In the same way I'd refuse if they'd begin asking me "how much is 10 divided by 2" or something.
"Oh but you can answer it in 2 min". Don't devalue your time. I bet they can ask something more relevant. I'm happy to solve a different coding exercise or test.
Because of this, the interview process is not designed to efficiently handle the minority of qualified candidates, but rather efficiently weed out the majority of horrible candidates. It is therefore a terrible process for the people actually qualified to pass it.
(Note that the majority of the interview pool being terrible does not mean the majority of programmers are terrible. Assume 80% of developers are great, and 20% are bad. If the great 80% of developers only need to interview at one company to get an offer, while the bad 20% need to interview at 10 companies before either getting an offer or giving up, then only 0.8/(0.2*10+0.8)=28% of actual interviews will be with qualified candidates.)
Yet they are currently working at highly respected top tech companies and are accorded a certain "elite" status by many of their peers at less prestigious/selective companies.
My best friend is at Netflix and constantly dreads ever having to interview for another job again because he's dead certain he will bomb the leetcode rounds because he hasn't looked at an leetcode problem in five years. Even his current job at Netflix he considers having obtained through sheer luck, and he says none of his experience working at Netflix is of any help in solving leetcode problems.
I quite often hear stories on here, Blind, Reddit, etc. of people who manage to land multiple simultaneous offers from FAANGMULA+ but have yet to meet such a person.
Hmmm... this makes me wonder if these kinds of interview strategies aren't promoted at such companies precisely because they make candidates feel more grateful and therefore less likely to leave, less likely to refuse overtime work, less likely to protest anything, etc.
I expect we'd see this absolute disaster of an interview "process" fixed overnight if every company required their employees to re-interview for their position yearly (through some blind process so the interviewer isn't aware they're interviewing someone who already works there - yes I'm aware this won't work for small companies... it's not going to happen to begin with so let's just pretend :P).
Every company would immediately start a "task force" to fix their interview process once they reject (and then fire) 90% of their staff after the first re-interview.
It doesn’t seem so surprising? They all require you to do and say the same thing, so by the time you can do those things well enough for one, you can do them well enough for all of them (in this case regurgitating leetcode while seeming marginally likable).
There is always variability, and I think good interviewers actually help candidates a decent amount.. so if you get a bad interviewer they’d fail but that’s not on them. I’d bet they’d pass most interviews.
I just landed a new job at a FAANG-level company two months ago. Not surprisingly, my actual work has no commonality with my Professional Leetcoder skills. I haven't looked at a leetcode problems since I got the offer and I fear my skills have already atrophied.
Am I the only one who feels like he could spend a week preparing and shred through any sort of reasonable algorithmic problem testing anybody would throw at me?
First of all, I want to spend my limited free time doing other (fun) things, but more importantly, it insults my pride.
- is it one week as in 7 days off, and spending at least 8h/day? Then I would say, it may be enough. It just takes one problem you haven't seen before (you haven't prepared for) and you are out.
- is it one week as in 5 days, and 2h/day (let's say, after dinner?). Then I don't think 1 week is enough. Around a month would be needed to match the previous scenario
I can echo this, same experience here and ended up landing a nice role at a big company while being rejected for objectively worse roles at tiny companies and startups. For the last round of applications, I applied to 10-15 companies, only got an interview with 2 and got an offer from both (and both raised their offers to counter the other).
it is completely consistent. When you fail at the very beginning you're a "terrible" and when you get offer you're a "good" one. The "terrible"/"good" isn't innate characteristic, it is in the eyes of beholder ... err ... interviewer. Most places pride themselves on taking only top 1|2%, and thus most candidates at any given place are "terrible" by definition, and thus the interview is built as the filter described by GP. Of course everybody hiring top 1% means that pretty much anybody would get to be a "good" at some place.
I am awful at tech interviews. I mess up leetcode and puzzle questions even aimed for new hires. I get stuck on the wording in the question where the interviewer takes it personally if I don't understand. Sometimes I get my languages mixed up in google docs with no syntax assistance and for example could declare a new java String as a var string javascript style because I got distracted while talking to the interviewer.
I have 5-10 years working as a software engineer / architect. I am frequently put on critical projects, including running 10's of thousands of critical government servers. When tech leads quit, I fill in the gap. In an actual business setting, I'm great at picking up new languages. I frequently code review the work from our top engineers and always find spots for big optimization or critical flaws, such as security issues. I'm not nitpicking for little changes-- These are real considerations.
I've done front end work, back end work, created template code for other engineers, worked with the senior sql developers, senior security staff, the original legacy coders, and the senior devops on scripts. I get put on projects where I'm the only one, and been on teams of up to 20 people. I also monitored splunk and had every error sorted out: New errors I could identify the exact code spot and the original PR in minutes to fix problems. I did this on the side to monitor my work and was asked to speak to the entire engineer team on multiple occasions to get others up to speed.
I'm naturally "good" at a lot of things. I hate any degree of bragging like this. I'm so tired of seeing engineers brag about themselves-- It sounds like they're dismissing everybody else's skills. But this comment is just to just show I'm not someone who comes in and can't figure out an easy story and who refuses to try to ask for help or learn on their own and they just give up work as soon as possible. I legitimately try and put a lot of effort in to my work, and I figure it out. But none of this matters in the current process.
And the person you're responding to also agrees they are terrible for qualified candidates.
- There is always an age bias. Younger==cheaper in every single HR department in the world, but tech experience (and output) often increments faster than age.
- Someone who’s spent a couple of years not coding because they decided to try management or consulting will get passed over because interviewers don’t really expect them to want to code anymore. Never mind if they actually consulted for and designed systems that are currently running in the Fortune 500.
- Timezones and “meeting quorums” are very tightly aligned in some hiring manager’s minds. If someone can’t make half the meetings because they’re offset four hours, managers get antsy.
- US/non-US is still a massive chasm. The first question I got from every FAANG interviewer was “when do you think you can relocate?”. And the pay differential is atrocious.
Remote helps a bit, but the age bias will get to us all.
I see this kind of thinking often and it has certainly influenced my hiring decisions and my own career but there is a flaw.
There is a difference between someone who designed a system _at_ a F500 and someone who designed a system that got them _to be_ a F500. In a big company, there's lots of room to hide and bullshit.
Not saying that developers from those companies are bad, but they're not necessarily good either.
The developers at those companies are just... normal developers.
how many people have designed systems that made their company into a F500 and how many of them do you think go through this process we're discussing?
I'm quite simple with this. I simply work less and lie about it. Unless I feel passionate, but then I don't view it as work. With that said, I do tell them upfront that I kind of work this way (I always say in interviews: pay me fairly and I'll treat you fairly, here's what I consider to be a fair wage. If they then lowball me and I accept because I happen to need the money, mayhem ensues. So far, 25% of the companies have met my salary requirements easily, all non-FAANG and local). Remote work helps with getting away with this.
You get what you pay for one way or another. If I happen to get fired, so be it. I might want to consider switching careers then.
This might work for you, but I wouldn't hire someone who said that. It translates to "I'll only be honest if you are honest." I like to think that peoples' honor is not contingent on their estimation of the honor of their colleagues.
My dad told me that the difference between men and animals is men have honor. We each get to choose which we are.
Stating upfront that if I feel underpaid is a very very bad thing for me and the company, because it undermines my motivation (yep, that's how I say it, I also give numbers and explanations behind those numbers) is an honest upfront thing to say if you ask me.
When people push through, then they push through because they don't seem to care about that. All they focus on is that they can get developers for (too) cheap. I just warned them. I'm not warning them again. Note: obviously this only happens if I need the job/money and I'm in a tough spot. Otherwise, I'd walk away.
FWIW: I don't know much about honor, ("eer" in Dutch, who uses that word even? I almost never hear people talk about "eer"). To me honor seems like pride and I've seen people defend very stupid things because of pride. I'd rather defend something because it helps humanity with the contingency that I can at least be moderately happy myself.
Because of this what I do care about is truth. For it is truth that will lift us (slowly) out of whatever miserable stuff we endure, and I can get behind that. Unfortunately, other people don't seem to care about it as much as I do and I have been burned in the past.
Edit:
FWIW I welcome this discussion as I feel people tend to think differently about these things based on all kinds of factors. I think these different views are interesting since it allows me to ask questions that are relevant to my personal life but I'd otherwise not think about.
You might want to rethink that assumption, because overwhelming evidence suggests that people's honour is contingent of their estimation of the honour of their peers. See the Golden Balls TV show, where the two remaining participants at the end are asked to "split or steal". Turned out people are more likely to steal if they think the other will steal as well. Also, people don't like to get swindled. If they expect swindling, its' only natural that they resist it however they can.
Don't get me wrong, we need honour, if only so we can share this Earth together. There are other ways to fight dishonour than to be dishonourable yourself, and there are advantages to honour (such as the reputation of being honourable). It's just that evidence is not as rainbows and unicorns as we'd like.
So you concede you are NOT going to be honest, then, but are expecting 100% honesty back because of the notion of honor, which is what exploitative, scummy people usually do. You also invoke honor to make the other guy not question your honesty.
No.
A job is a bargain we strike in good faith. I will stick to my end of the bargain to the exact extent of you sticking to yours. This is how people who actually have honor do business.
As an aside, humans are animals, just smarter ones
And then you made it even worse by somehow implying whoever doesn't abide by your weird moral compass might be an animal.
I sincerely don't understand the idea of people working more than what they are paid for. If my capabilities are worth 10k/month and you only pay me 5k/month (state of the economy, CoL adjustment, being a scrappy startup, whatever the reason), you will get half of my capabilities and I will spend the other 4 hours doing/thinking about something else or just online browsing HN.
Not trying to be snarky, but people that know that are underpaid and still give the companies 'their best', what is the rationale?
I've taken to honing on a candidates CV that might say for example, experience with Vue and React and simply ask them to compare the two, what do you like about one over the other etc. Or have a look at the projects they've worked on and ask them how they solved problem X and why that particular approach rather than Y etc.
Being this casual I feel that you get a really good feel for how someone works, how they think, how they approach problems and most importantly how well you might get along with them day to day as you work together. They end up being much more relaxed and honest.
I have a hard time believing that someone incompetent can slip through the cracks this way. Hasn't happened yet.
I think the answer here is simple: scale and trust. The smaller the company, the more likely you are to get this sort of "just a chat" interview. But larger companies invariably feel the need to standardize their hiring process across huge numbers of people. And it's just very hard to trust the "just a chat" format at that scale, and can seem much "better" to build a bank of questions with answer keys.
The solution: work for smaller companies!
Compare that to Melbourne (Australia). Every interview has been how you've described. I've had interviews in cafes, restaurants, pubs, and food courts. All informal chats, and only remember one white-board interview that went for about 3 hours.
Thinking about this more now as I type this reply, clearly, the interview over lunch doesn't scale so making candidates run gauntlets for Valley jobs actually sounds logical.
Because of an attempt to standardize the questions so as to rank candidates based on their answers? Notice how many times the word bias pops up in articles complaining about the interview process? Bias this and bias that? Well, having a freeform chat with a candidate is just inviting bias.
The most lazy programmer I ever seen, to the point where he rarely finished anything and where everything took absurd amount of time excelled in these. There is sort of person who is smart, reads blogs/hacker news/journals a lot, have all the right opinions and can theorize about this or that solution easily.
Everyone, especially developers, who was not on his team thought how genius he was. (Imo, largely because he is also completely immersed in tech-culture projecting all the correct work not related social signs of genius developer. )
Since my relocation to Germany, I decided to try the "no-tech-interview approach": does a client wants to work with me? Let's talk, for hours if needed, let's meet in person, whatever is required to make both parties confortable with each other.
I'm more than happy to answer questions about my previous projects, how did I work on a specific solution or technology, which mistakes I made.
But no technical interviews (as in whiteboard coding, riddles, take-home assignements). I have 25 years experience, I have references, I have code on github in several programming languages, I wrote a technical book.
This approach has been working so far. Some clients still insist on doing a coding challenge or a classical technical interview: I politely decline and move on. There is no shortage of contracts, so I have always some lead in the pipeline. I would say that 50% of the leads are from me being recommended by people I worked in the past: this is obviously the value added of having lots of contracts under the belt. If I feel that my experience would not be a good fit for the project, and there is not enough time for a ramp-up, I would also decline.
I do realize that this no-tech-interview approach would probably never work for permanent positions, especially when it comes to hire junior developers. Having said that, I strongly believe that the most valuable asset for a team is a decent person.
Very few teams work on hard-problems, requiring super-specialized knowlege (say, AI for self-driving vehicles). The majority of technical skills can be learned, if one has the passion, willingness and humbleness to learn (and the employer wants to invest in the team - which, sadly, is often not the case).
As someone who interviews, I can say that while there is a correlation between CV and coding skills, you do find regularly that really simple coding problems cannot be solved by applicants (slightly above FizzBuzz complexity).
And for most applicants, there is no Github-Account.
So I think its only fair to have some coding problems that don't overdo it of course for permanent positions.
When you are consulting the situation is of course a bit different. The situation is temporary. Getting and verifying references is actually legal and possible. So I can definitely see that you get gigs this way (you'd also get hired without solving a coding challenge because many companies don'T do it actually).
I just personally would feel much safer joining a company as an employee where I can be certain that my colleagues can at least code and have been selected with appropriate care.
In Europe it is very difficult (and expensive and convoluted) to let go of an employee, so a company must find a way to validate the hire, regardless of the Probezeit (probation).
I'm not advocating that companies should suddendly stop running interviews, and I would be very wary of a company who would hire me permanently without conducting a technical interview, especially for system-design level positions.
In my particular situation, I found that coming forward very clearly about my intentions as paid off so far, but I also realize that it may not work in the majority of cases.
> Getting and verifying references is actually legal and possible.
Is it not legal to verify references for a permanent position, in Germany?
Not a lawyer, but I think you cannot call up a former employer. IIRC there are several legal reasons that make it almost impossible and too much of a hassle for everyone involved. Your ex-employer must give a written reference for example. It must be beyond doubt that the applicant has given their voluntary consent to you calling an ex-employer, because otherwise if you don't hire the applicant, the applicant could sue you, etc.
There is the Arbeitszeugnis which as an employer-to-be you can request. And the language of the Arbeitszeugnis in itself is a science of its own, because it may not contain negative wording so there are various phrases that are used to communicate negative behaviour, etc.
PS: I wouldn't rule out that here and there a phone call to an ex-employer happens. It's just pretty risky if the candidate should find out.
This. Booking a freelancer is a completely different game than hiring an employee. There are legal aspects here because big company A hires small service provider company B aka freelancer to do work. In my experience companies looking for freelancers need experts with very specialized skills on framework X or cloud provider Y.
To put it another way, we should expect that picking names out of a hat would do just as well as Google's infamously rigorous interview process. If I recall correctly, this result is generally consistent with other attempts to study hiring with technical requirements.
So if technical interviews have no predictive power, is there anything else that does? Yes: standardized testing.
So why doesn't everyone use standardized testing?
Well, it's a lot of work. You have to accurately identify personal attributes that are relevant to success in your business. They have to be things you can objectively measure. You have to encode them in a standardized test, or, failing that, find an existing test that measures something sufficiently similar to be relevant. You have to administer it in a way that preserves a reliable signal.
You probably need to engage professional specialists if you really want it to work. At the very least, you need to get someone in who can ask the right questions about your business and your goals to identify some existing standardized test that will match your needs reasonably well.
Maybe you don't think you can afford to do that. I mean, that basically means you can't afford to do better than random chance in hiring, but if you can't, you can't.
So what do you do instead?
Well, hiring is risky. A bad hire can cost your business a lot. Uncontrolled risk makes people anxious. Anxiety is bad for productivity.
Anxious people want to increase their control--or, failing that, their feeling of control.
So how can you feel more in control than by pulling names out of a hat?
How about technical interviews?
Maybe they don't have any predictive power, but they give you a very strong feeling of control. You control the candidate-selection process. You control the interview format and procedures. You decide the criteria, and who gets an offer and who doesn't. Sure, the end result may be the same as pulling names out of a hat, but the process is much more soothing.
So technical interviews it is.
The statement "Amongst people who passed the Google interview, the technical screen had no connection with Google career success" is a very different statement than "no connection between technical interview performance and career performance" due to the selection bias.
The notoriously-drawn-out-and-draining interviews that practically require at least some study in advance, and probably quite a bit, strongly affect which names are in the hat though, no? I'd assumed that was about half the reason they did them in the first place (the other half is that hazing actually is pretty good at creating "team spirit" out of nothing)
Maybe it's just a way to somewhat reduce the size of the candidate pool?
And maybe your observation about hazing is on the money, too.
Mind citing a source here? That would be a pretty big deal, both because it flies in the face of the entire industry, and because of the implications about Google if it determined the interviews were useless and then continued spending an incredible amount of money conducting them.
If you want to know what Bock has said about the subject, Google for Laszlo Bock along with some terms like "hiring" and "predictive".
His book on the subject is here:
https://www.goodreads.com/book/show/22875447-work-rules
It says that brain teasers and unstructured interviews don't work. Structured interviews do.
So what's a structured interview? It's a standardized set of predefined factual questions determined by relevant domain experts to be directly relevant to the job. In effect, a custom standardized test. He says the problem with them is that interviewers don't like using them.
Oh, and he says the problem with unstructured interviews--which interviewers prefer--is that the best predictor of the interview's result is an impression that the interviewer forms in the first ten seconds, and that impression has zero predictive power about the candidate's suitability for the job.
Google a little more widely to find more general research in this area.
For example: https://www.researchgate.net/publication/240237107_The_Role_...
...which says the best predictor overall is general cognitive ability (what we usually call IQ)
and
https://www.academia.edu/32446971/Big_Five_Personality_Dimen...
...which says that two of the Big Five personality traits (namely, Conscientiousness and Emotional Stability) are good predictors of good job performance.
IQ, by the way, is strongly correlated with another of the Big Five, generally called Openness.
So if we believe all of this research, then what you sould be looking for is objectively-verifiable skills directly related to what you expect the job to actually entail, combined with general intelligence, conscientiousness, and emotional stability.
By the way, I score low in emotional stability, so I have to rely on the other traits.
If you find that my characterizations are grossly wrong, feel free to trash me over them and I will thank you for improving my understanding and humbly apologize for wasting your time.
I reread, and his claims were more specific than I allowed: brain-teaser-style questions have no predictive value; neither do "unstructured interviews", because the interviewers generally form an impression in the first ten seconds, that impression has no predictive value, and the interviewers then generally spend the rest of the interview confirming that initial impression.
However, structured interviews--interviews that consist of standardized domain-specific questions about relevant skills--do have predictive value. The problem with them is that interviewers don't like doing them.
I conflated the specific kinds of interviewing he deprecated with "the technical interview", I assume because those are the kinds of technical interviews I've seen. In thirty years or so, I've never seen the kind of structured interview Bock praised. Still, conflating the different things was my mistake. Thanks for correcting me.
If this was true, Google could have just hired everyone who failed and rejected everyone who passed the interview?
If Google started doing that, the company would collapse pretty quickly.
> If Google started doing that, the company would collapse pretty quickly.
I'd mention that they are already crumbling:
1.) Search has been deteriorating since 2007 and is now at the level of the engines they replaced (yep, Yahoo, Alta Vista etc actually worked, it was just that Google was extremely much better back then).
2.) They cannot maintain anything except the core services.
3.) Previously everyone including me wanted to work there because it was cool, now I at least don't think of it as cool anymore so I guess they have a harder time recruiting the best and brightest.
One startup, had three interviews, once I have started to describe the project I have worked and some background has issued a personal memo to hire me immediately, second one gave me to implement filesystem traversing recursion, the third guy...
... now the fun begins. Described me a case of huge volume of http data and how would I load balance them. "hm, ok, huge amount of data, lets propose the DNS based load balancing, you can still do proxy based load balancing on entrypoints". The counter answer was that do I really think this is server side solution, once I have described it to him, he said that he doesn't agree and that DNS load balancing is client side based solution.
And I was out.
Got new job in two weeks. With one hiring interview, no stupid programming tasks, just some talking what I was working before. And they raised my sallary twice in 6 months.
I think that this nonsense with tech hiring must stop. It is damaging the companies that are looking for good engineers as they only get engineers that are worse that their existing engineers. The classic old story A people hire B people, B people hire C people,...
I blame the FizzBuzz blogpost (https://blog.codinghorror.com/why-cant-programmers-program/) for making everyone deathly afraid of imposters. It's a masterpiece in ego-stroking - of course you can write FizzBuzz, look at all these sorry suckers who can't. Resumes are lies, only a 45 minute brainteaser on CoderPad can reveal the truth (ignore existence of Leetcode).
In reality if I'm considering a senior candidate from FAANG (like, actually senior, not 4 years out of school), simply talking about past experience is perfectly fine. The work is the fucking same, everyone is migrating from legacy system X to a distributed system with zookeeper and kafka, they'll fit right in. It would take a truly psychopathic liar to fake their way through all the mundane details you could ask about a project like this. And if one slips through the cracks, they'd probably make a great PM anyway. (As long as they're on your side.)
While I agree with you on the whole, I have had interviewed candidates who couldn't code.
One of them basically said that they would learn (CS degree but 4 years as a PM), which was fine but not what we were looking for.
Another simply refused help and proceeded to bat their head against the brick wall of simply syntax. Didn't show signs of nervousness, panic, etc ... just seemed not to be able to code.
In short, I think they exist (programmers that can't program) but they are the exception not the rule.
>In reality if I'm considering a senior candidate from FAANG (like, actually senior, not 4 years out of school), simply talking about past experience is perfectly fine. The work is the fucking same, everyone is migrating from legacy system X to a distributed system with zookeeper and kafka, they'll fit right in. It would take a truly psychopathic liar to fake their way through all the mundane details you could ask about a project like this. And if one slips through the cracks, they'd probably make a great PM anyway. (As long as they're on your side.)
I agree with you that an interview probing the experience of the candidate by getting them to talk about what they've done seems like a far better proposition. You will get a better idea of what the candidate knows, doesn't know.
If you want an experienced developer that can start right away, it must be someone that worked an extended time period with the specific technologies required, there is no alternative. Especially in software that could be anything.
The company I work for mainly just hires people for a month and then management gets feedback from the engineers before committing to someone. I think this process is quite nice and people seem to like it (they get paid of course). Applicants are subjected to the whims of engineers though, so you "need to be a fit" too. Advantages and disadvantages.
Fizz buzz is an easy example, but that is basically checking that someone knows the modulo operator. A lot of devs also lack basic "tricks" with bit operations. Ideally a developer is able to do that, but companies must be aware to offer resources to train people.
I was working for startup company a few year ago that didn't had yet their leetcode process setup. This startup had an algorithm team working on signal processing and the embed team that pretty much took their python algo and translated them in either C or ASM for some special accelerator + the typical board bringup.
Before using leetcode with new candidate they asked for some volunteer in the team to try it out. I did the test and failed miserably as always. My boss called me to his office and told me, your one of my best guy but you did the worst in the test. I told him this test is probably good for hiring someone for the algo team but for embed it's not relevant at all to the kind of problem we work on.
My boss did some research and found a test targeted at embedded programming. I did the test and got best score in the team (equal with one teammate).
Test are good but you need the right one for the right position. Most of the time for embed job it's the wrong test.
Ok, sure, there are some companies out there that don't know what they are doing, and the very most prestigious companies have to do some very tedious stuff to deal with the fact that their process gets leaked and people are willing to put a ton of effort into preparation.
But mostly, it's pretty reasonable:
- Little reliance on credentials, because there are many solid candidates that didn't go to top schools or don't have CS degrees or maybe didn't go to post-secondary school at all.
- There's some sort of technical interview that asks the candidate to show they can do the work by doing a small amount of work. They usually let candidates choose the language and tools they'll use for this, offer help if the candidate gets stuck, let them look things up on the web, etc. This can take a few different forms, but it's inevitable given that credentials aren't reliable.
- There's some sort of "behavioural" interview that asks about how a candidate collaborates and communicates with coworkers. Tech companies aren't looking for the anti-social genius anymore; software requires teamwork.
- Recruiters are typically very accommodating of a candidates' circumstances. They'll tailor the pace and scheduling of interviews to the candidates' needs, fly them in from other cities, reserve time in interviews to answer candidate questions, and generally put significant and explicit effort into making the "candidate experience" as positive and low-stress as possible.
- There's a lot effort put into eliminating biases, and interviewers will often do things like not reading a candidate's resume until after the interview, or writing up their report before talking with other interviewers about the candidate. Most tech companies really want to do this right.
I think that what tech companies ask of candidates is quite fair. These are high-paying (sometimes very high-paying), high-prestige, comfortable jobs with lots of perks. The company puts a lot of time and money into training new hires before they're productive, and it'll be even more time before they can tell if the new employee was a good hire or not. In other words, the cost of hiring the wrong person is very high.
In the best case where you have a technically skilled interviewer and interviewee, there is still the problem of: 'the correct answer is my answer. Even if yours also works, it is not my answer.'
Tech hiring is not difficult, but it requires the following traits in the interviewer:
1. Broad technical skills and the ability to recognize skills in others.
2. Ego is not driving them. No need to be smarter than everyone.
3. Conversational/interpersonal skills to get the interviewee to talk, and to recognize someone who will be a jerk.
The common assumption is that skilled tech people lack interpersonal skills, but in my experience 1&2 is the rare combination.
That right there is probably what's actually wrong with the tech hiring. And that's why Leetcode, despite the disconnect of it from the real job, is actually better in my experience than free-flowing conversations "to gauge experience". There are only so many working answers to a leetcode challenge (p99 is less than 3) and yet there is an infinite space of things you can say in a conversation that will instantly bar you from passing the interview. And what's even worse, you can say the opposite things to 2 different interviewers at the same company and they will both disqualify you.
Interviewer: There is a file of 500,000 words. Some of the words are duplicated. I would like you to produce a report of the duplicated words, and the report should be sorted most-duplicated to least-duplicated. You can use any programming language you like.
Candidate 1 spent half an hour writing a program in Java that accomplished the task. He passed, but was ultimately not offered a job.
Candidate 2 spent approximately 10 seconds and typed `cat words.txt | sort | uniq -c | sort -gr`. He passed, and was hired.
The moral is...sometimes a technical task in an interview is not to assess only your coding ability, it's also to assess your problem solving methodology. The person who used common user-space unix/linux tools didn't already have his mind locked into "writing a program to accomplish the interviewer's objectives" - he just used the lowest common denominator(the shell) that could accomplish the task he was given. It's not all algorithm memorization that counts.
Your process seems flawed as it appears to operate solely on your bias, from this description.
In the 1 or 2 cases where they just want to see you do it in X language, it always turns out so wildly inefficient. I don't understand what you're supposed to do.
"Don't use that 1 line textbook optimal solution. Use a for loop instead." Uhh.. Ok. I guess they want to see more lines of code? More code = more better engineer.
"Why are you using a double for loop? Why didn't you just use the built in method to solve this?"
Sometimes the "built in method" is literally the original solution you were presented, but slower. What are you supposed to do? If you can't use the optimal solution, why are they giving feedback on suboptimal code in a follow up answer?
It's like they're asking you to demolish a building, but you can't use TNT or heavy construction equipment. So you pick up a sledgehammer and talk about the weak points in the structure and how you have to have a plan and strategically knock down support beams to demonstrate your knowledge in this theoretical situation. But they just scream at you-- why would you use a sledgehammer instead of a wrecking ball?
"Wrecking ball isn't heavy equipment! It's built into.... A machine. Totally different."
Or why aren't you using a rocket launcher? I guess you're inexperienced. "Rocket launcher is totally different from TNT, of course! You didn't even think to use that! I guess you're not a real engineer, huh?"
I mean if someone limits you from using TNT when that's clearly the solution, using a rocket launcher should clearly not be in the spirit of the challenge they presented.
Would you also have accepted a solution like "I send the file to someone on Mechanical Turk to find the words"? Or "I ask my daughter to look through them and find them"? Or "I ask someone in an interview to write a program to find it out"? Or "I paste it into this online tool that produces statistics of the most common words in some text"?
I see the appeal you are outlining, but I can't help but feel like the demonstrated solution is really just programming under a different moniker, but one that doesn't align with the spirit of the posed question. Is bash a programming language? I guess so.
I've been programming professionally for 7 years. I know `cat`. I don't know those other things off the top of my head.
I could implement a solution much like the Java candidate though, with information that I have memorized through years of constant use.
Being clever and novel is a cool party trick, but ultimately only proves that you are clever and have novel ideas. That could be great for an organization, but it might also be the wrong fit for whatever role is being considered.
Your final sentence highlights a bit of hypocrisy (no judgement!)
> It's not all algorithm memorization that counts.
But that's _literally_ what the bash solution was. Memorization of an algorithm, albeit a very optimized one!
>The person who used common user-space unix/linux tools didn't already have his mind locked into "writing a program to accomplish the interviewer's objectives"
It's partly your fail as a interviewer that candidate has to guess what you expect from him.
What if instead of using bash s/he had used popular GUI tool like Excel(let's assume that it performs the job quickly too), then would it be OK too?
I don't get a lot of callbacks anymore since taking this stance, but that's fine. There's a reason why probation periods exist, and after a few years in the field, most engineers are able to adapt to a new code base just fine, it's the soft skills that interviews should filter for anyhow.
my2c
edit: typo
Tech recruiting has become a massive numbers, volume grift.
Algorithm and "Trick" Coding Questions allow me to prepare for companies I would normally never qualify for just based on my past experience. If Google only hired people who have touched Google scale systems, they might not have a lot of people to choose from.
Thanks to the current interview structure, I can spend some time and prepare for any large company regardless of the kind of work I have been exposed to so far.
Its definitely not a great process, and requires a lot of time investment to prepare but allows people from not so impressive backgrounds to get a fair(ish) shot.
And of course, among the skills they lack is the ability to measure results and design effective compensation systems.
Not accepting this leads to endless debate, grief, lawsuits, and miscarriages of justice.
e.g
People with family/kids would rather not do home-work tasks
Some people would prefer to be asked about heavy job-related stuff e.g frameworks, kubernetes, real-life problems
Some people would rather challenge themselves against foundational knowledge e.g because for them it may be faster to do 1-2 algo tasks or it being technology agnostic
Some people would rather try designing systems, operate at higher abstractions levels instead of typing code
...
I personally believe that I'd rather see security questions than algo/ds questions cuz poorly performing algo can always be rewritten, meanwhile leak cannot be reverted, but I'm aware that shitton of people would hate that
How to match "interview kind" to candidate? maybe ask them which they prefer, I guess?
but it assumes that you have people capable of performing this kinds of interview and you want to "enable" this person to peak
I don't think it's a matter of candidate preference but rather position need.
Some companies need Computer Science / Engineer mindset to solve complex problems. Some companies need XYZ framework developers to deliver customer projects. FAANG companies usually need the Engineering role and developed an interview model to select those.
The problem is when companies that need developers apply the same interview mindset that Google does.
Only read it partially so far, but it seems interesting.
It's easier to get a position in a stack you don't have professional experience with. You're tested for your ability to learn CS concepts, not stack specific knowledge. All 5 positions I interviewed to had different technologies. If I had to learn the specifics of each before applying, I would likely not get offered any positions.
> Short summaries of recent results in empirical software engineering research
That essentially makes hiring a serial process for the candidate. All you are selecting for is people who really really want to work for you.
I see software as a form of literacy. How do people hire writers?
Another thing I have realized, all the jobs valued php and bit SQL more as basic knowledge for web dev than any nodeJS/MongoDB even if it's just front end, they want some back end understanding. Had some nodeJS things that generated all the front end via express , including chat module and sign up/log in flow, but either it was overlooked or not valued, any 5 minute to do list or crud with anything front end JS seemed more important. I suppose few dare to touch the node ecosystem and nosql databases.
And the most recent one asked me if I can do their front end in react(really overkill, no need), told them I'll do it in vanilla JS, but nope, he insisted on react and that was the end of the story. Was for a MVP and would be the sole dev for a while.
I have found in general that speaking to hr is not useful, if you get past that and a senior dev (not a manager or product owner) interviews me, it would be a good experience.
On top of that, taking on paid outside work in the same field could also be contrary to the candidate's contract with their existing employer[*].
[*] This no doubt depends on the employer and the jurisdiction.
I think tech companies are forgetting that firing people is an option.
That said I’ve also seen companies pay contractors a month’s severance for no reason whatsoever too. A lot of places don’t seem to understand what they’re doing.
I pretty much refuse coding exercises for contract work since it's so easy to get rid of me if you don't like it, and anyway as a contractor you get paid per hour so they should pay me for it. But sometimes there comes a place you really want to work for and they happen to have the coding exercise...
Life is not just about work.
Really really wanting to work there is a good start. If they can also finish the tasks in a competent way it would seem they are perfect candidates. What is the problem?
That's great. And if I apply to one of those I really need to expect that.
Now the company can be in this great position by being a world leading engineering organisation that is growing exponentially. Google, Facebook et al a few years back perhaps.
But alternatively, any $RANDOMCOMPANY can think it is in this position not by attracting the best applicants globally, but by only hiring 3 people a year. The company still will get more high quality applicants than it can hire, so it needs to whittle down.
But from the applicant side, applying to Google looks very different than applying to $RANDOMCOMPANY and they will drop in preference order.
Taken to its logical extreme, each candidate will choose one company only to apply to based on the existing job pool and their expectations of getting the job. That seems silly.
Not that I disagree with the author in general, but surely he can't be suggesting that work doesn't cause anxiety itself?
It also selects for a certain type of individual who has enough free time outside of their day job to do extra part time work for a week to a month.
It may not be ideal but every approach has its trade offs.