468 points · by nelsonfigueroa · 2y ago · 603 comments
The side effect of this though, is that it's an extremely painful process for the applicant. Even if you're a great software engineer, you're going to freeze up, miss something, have a bad day, and fail a few interviews. Now for most software engineers failure is an unusual and harrowing experience, so they react really badly to it. Especially ina scenario where it's difficult to blame anyone but yourself. But just don't! It's fine! just move on, there's plenty of jobs and the interview process is a blunt tool, not a final evaluation of your worth in life.
“Trick” questions are dumb, but you want to get an idea of if the candidate knows their stuff (and let the candidate know what we’re like — interviewing is a sales process in both directions). If someone asks a question like “is it ok to modify the argument” (or says “I’ll assume I can’t modify the argument”) that’s great (or says “I can’t remember if strlen includes the 0 byte so I’ll add 1 — normally I’d look it up”) - again, no trick questions.
When I say “simple” it’s something like atoi or “shuffle a deck of cards”: basic, but not 100% trivial like fizzbuzz.
On of our best hires was a guy who made a fundamental mistake — when we asked him if it world work as intended he said “I’m a fucking idiot” and fixed it. You’re not supposed to talk like that in an interview I supposed but we read it as a strong positive signal.
We had one candidate who insisted that parsing a string and returning an integer was an unreasonable question because there was already a library function for it. “But what if you have an embedded system and no library?” (an actual situation for us, for part of our system). He was adamant — honestly that was a failure of the phone screen: had it been caught it would have saved us, and him, from wasting time.
Trying to debate the interview format or reject interview questions is one of my hard-stop rejection triggers in interviews now.
The couple times I’ve been part of hiring pipelines where candidates argued about the interview itself and then got hired anyway, they became extremely difficult employees within the company. Arguing about interview questions turned into arguing about every other ticket, code reviews, and every architecture choice.
I’ve had the same experience where we take an actual problem we solved in our codebase and turned it into a small interview problem. Same thing: Some candidates will try to debate the relevance or try to wriggle out of it.
if the interviewee pushes back and find they don't like the answer, then it's a good signal to both parties.
It seems that “able to code a simple problem well” is a far less ridiculous proxy for good software engineer than “able to code a hard problem at all”. Much to my surprise.
The software industry is notorious for underestimating overall complexity factors, understanding uncertainty, and time to manage them and interviews seem to be no different. So “simple” problems are often good (I agree with you) because they’re actually not so simple for most people when you factor everything in, they’re often reasonably challenging under the set of circumstances.
Meanwhile genuinely difficult problems (in any arbitrary setting and longer timelines) require a whole lot of rote training and reusing little clever idiosyncratic techniques that may or may not be generally useful, so you very often end up with a question lottery on whether you already know how to address the problem in question or not correctly vs having some problem where a reasonable solution and expectations around that can be derived in the time (and environment) it’s taking place. Lots of nonsense.
Truth is, I'm never looking for "the best", I'm looking for "good enough to do the job competently". Because we can hem and haw over what is best for hours. And we could disagree with what qualities in what proportion make someone "the best". But we can all generally agree with "could do the job". As I've mentioned elsewhere, we're hiring right now and we have the duality of candidates in our pool.
There's one guy who is just a hard no from at least two people in the group. And that translates into a no from the third member simply because we're so adamant that he's not the guy. And there's another who we're all feeling really solid on. Not "the best", but solid floor and we feel they'll be able to learn.
But being able to weed out people who can't even perform the basics despite having a decent resume is invaluable.
Fwiw this is surprisingly subtle and non-trivial to get right. A naive "random swap" approach does not produce uniform permutations. Sorting based on a random comparison function can likewise produce biased results depending on the implementation of the sort. Tagging each element with a random number and then sorting based on the tag works (or so I think?) but you need to deal with the case where tags collide. Fisher-yates shuffle is bulletproof but I would not trust myself to write it from memory lest you end up writing Sattolo's algorithm instead.
At the end of the day the question is: “could this person do the job and could they work with others in the process?”
Though I still do start with a short fizzbuzz-level question because you would be surprised how many people fail that and it makes it way less awkward if you start with atoi and they can't write a loop.
If they fail fizzbuzz I generally just turn the interview into a chat or give them easy questions to practice, rather than say "yeah no thanks", because I feel like the latter is a bit mean, and everyone can benefit from interview practice.
It’s kind to politely ramp the interview down in that case but I’ve learned to then cut off any later interviews. It’s a waste of the company’s time and the candidate’s too.
If we were going to have lunch the recruiter takes them to lunch anyway, unless the (now former) candidate doesn’t want to.
> We also used atoi/itoa
Do you mean the C function atoi() to convert a string to number? If yes, I also used the same technical interview question for year. It is a nice "fractally complex" (many levels of depth) question. Everyone can understand it in 10 seconds, but you can really show your experience when you get into the edge cases and unit tests. Plus, if the candidate is a bit junior, you can push their boundaries by asking about different edge case and watch how they react. Similarly: I had a teammate for a few years that asked people to program a very simple linked list class. He was shocked how many mid-level devs couldn't do it. As I recall, he never sent me a bad candidate, so it was good enough for us.I've never been through the "regular" IT hiring process myself, but I've interviewed several candidates for an Android developer position. I liked asking questions and looking at how the person thinks. I didn't expect exact correct answers for every question, I just wanted to see whether they have a fundamental understanding of Android. After that, they had to build a small app at home (not my initiative) to show their skills.
There are better questions where I do think google should be allowed but they aren't LC-style. Some examples are building APIs or operating on files
I've seen this reasoning, but I'm wondering if this is actually true, especially if you also believe the other myth in hiring: most people applying are not qualified for the job. Since most hiring actually requires you to fill the position in the end (in other words, you can't leave it open indefinitely if no one qualifies as eventually the pressure to hire mount up), every false negatives does increase the odd of you hiring a false positives as well. Just take the example at the extreme, if there is only ever one person on Earth qualified for your job and you got a false negatives on him, there is no other way but getting an idiot in the job.
Someone who does well on leetcode is usually easy to teach so they will become good/great in a year or two, but if you don't have that time then go for leetcode+experience just like everyone else is.
Depends where you’re looking in the hiring pipeline. If you’re looking at raw applications submitted to a publicly listed job posting, I can say without reservation that the majority of candidates are not qualified. The pre-screening candidate pool is extremely bad on average, especially for remote job listings. Some people spend all day clicking the apply button on every job listing they see.
Your post constrains another misunderstanding about the hiring process: The goal isn’t to hire the first person through the system who is good enough to pass some arbitrary threshold. The goal is collect a number of candidates and hire the best one. People hate this reality, but it’s true.
I definitely do not have any misunderstanding here, and my description of hiring is the same as what you wrote, just in different phrasing: after a period of time, the company has to pick a candidate, presumably the best one by their interview signals.
I am disputing the standard claim of "it's better to have false negatives than false positives" by pointing out how that mindset does not work: since you have to choose someone anyway, the whole "avoiding false positives" might not be a thing at all
Or rather: the best fit. You don't need a Turing Award winner to clean up your website.
As someone who’s done a lot of interviews, this is very true for SWE roles.
I do work in a team where majority was hired by puzzles of sorts. All of them are smart. They are not software engineers and it shows massively.
Most programming work needs common sense a lot more than it needs theoretical algorithmic knowledge.
And almost nobody values good documentation, especially as a competetive advantage.
Coming from Real Engineering and making 2x more programming, I lol at people who say there is any Engineering in software.
We are programmers dealing with layers upon layers of abstraction. Knowing to optimize for time by using vectors is more of an art, than a science.
I did do safety critical C code and Assembly which are probably my hole in the whole 'its not engineering'. But javascript/python/backend work: programming.
The strong consensus was that software is an engineering discipline, and the nitpicking you can have on any particular topic that is/isn't engineering-y can be applied across the board.
But this conversation is totally moot IMO because if you have a bachelors in computer science or software engineering, and a masters in the same discipline, and several years experience, you can apply and become the same chartered engineer from the same association that does "real" engineering.
There definitely is. Safety/mission critical code is definately a more rigorous, formal process where you don't just download a library for padding a string (you probably wouldn't use built-in strings anyway on this kind of code).
But I agree that the way most coding works (i.e. move fast and fail often) is completely antithetical to how engineers should work. But there's infinite moneys and almost zero accountability, so who's gonna stop them?
>Knowing to optimize for time by using vectors is more of an art, than a science.
that's definitely why I fully agree with calling programmers creatives over engineers. once you get past dead simple problems, no two programmers are going to approach a prompt the exact same way. performance, scalabiliy, documenting, version control friendliness, even ephemeral stuff like code style. coders very much are artists who happen to know a lot of math.
One related problem I see is that Computer Science tends to be under-estimated by other engineering fields. A ton of software engineers did not study software. They learned to program as part of their engineering studies, and they believe that they learned both Computer Science and their engineering topic at the same time.
I may be biased, but I see fewer computer scientists pretend to be mechanical engineers because they once tuned a PID.
It is a downgrade in my opinion.
FWIW I think LeetCode problems can make sense for some businesses, but most not.
> Many of those questions were thesis/publication-worthy decades ago when first solved
The hare and tortoise (cycle detection via Floyd's) is a legendary impossible interview question. It wasn't solved until the 1960s with a PhD thesis. It is a hard problem to face in an interview. I had seen it twice in my career. I failed the first time. The second time I had the answer memorised, then put on my very best Morgan Freeman stage acting to pretend I was discovering the answer during the interview. What a joke. I was laughing to myself as I was "stumbling" towards the answer while the interviewer was providing minor hints.However, I have a real question as a follow-up: Have you been able to profit from this skill? If true, you should be able to crush any "whiteboard" programming interview. If I had it, I would move every 2-4 years and get large pay rises. You should definitely be able to pass FAANG interviews with that skill.
this would make sense if they filled these positions in 2,3 weeks tops. But that's the insane part; I hear of interviews going on for 6-7 stages now, lasting almost 6-10 weeks. At that point I feel you are no longer avoiding false positives, but simply hiring the most desperate programmers willing to jump the hoops. The best candidates will get an offer mid interview at that rate.
>But just don't! It's fine! just move on,
I've been "just moving on" for some 9 months now. There's only so much morale in a tank, no matter how BS you know the whole process is. I just wanna move on in life, not be bogged down on how many permutations you can color an N x M grid with.
> I hear of interviews going on for 6-7 stages now, lasting almost 6-10 weeks.
From this story, it is clear that your market is clearly in favour of the employer. One year ago, it was a different story: half the time. Another thing that will hurt: If you are amazing, that 6-10 weeks will suddenly become 1-2 weeks. In my experience, nothing hurries the interview process more than telling an employer about late round interviews (or offers) at another competitor.Totally, but leetcode wont filter them out.
Incompetent is fairly easy to navigate around, pathological bastardness is impossible to work past. I know that some companies use psychometric tests, but they are not based in anything remotely scientific, but are also super easy to game.
Coding challenges won’t filter every pathological bad hire, but coding challenges do catch a lot of bad hires.
LeetCode shouldn’t be the entirety of the interview. It’s just part of it.
But in fact even in at-will situations, firing aversion seems to be a real and expensive issue that all kinds of managers in organizations face [1] [2].
So, in one sense I agree, bad hires are existential threats "only" because we don't fire them fast enough. On the other hand, have you ever had to fire someone yourself? Try it. It's heart-wrenching, even to a heartless utility monster like yours truly.
[1]: https://www.econlib.org/archives/2012/06/firing_aversion_2.h...
Best tests are simple and common computer science problems in algorithms and data structures with no tractable solutions. There is no facile answer, you truly have to reason from first principles for any particular scenario because there is no alternative.
But it's entirely pointless.
Well worth it. Highly recommend these tools to play the dumb interviewing game.
And because they ask pretty irrelevant questions, the 6 weeker will do better then the recent Stanford PhD who has been studying a specific problem for 5 years or the multimillionaire who spent the past 10 years building and selling successful software companies.
Those people will fail and your 6 weeker who's never heard of cmake, diff or gdb will pass.
When I see there's leetcode as the hiring process I presume the place is full of bozos because the process actually strongly preferences them.
Recently I failed the first round of a fintech analyst position because I didn't complete the 9 undergrad (or high-school, in certain talented schools) math problems (I have a math PhD) in the 1 hour time frame. In retrospect, I should've cheated using computer/online assistance, and my true failure was my unwillingness to cheat. Not because fintech analysts are cheaters, but because the testing process is nonsense, so recognizing that, one should cheat it (indeed, an analyst mindset!) I'd rather be jobless than to adopt that mentality though. (and in fact I am, the only job I was able to find was a minimum wage service-type job, it can't even pay for daycare, I'd rather raise my child on my own while wife works thank God.)
We have high-interest rates and global crises resulting in companies not hiring while simultaneously governments give orders to news media to tout the strong economy. Ineffective hiring practices will always exist, but people don't complain when jobs are available; you only see this type of discussion online when things have gone sideways.
Integrity is really tested when it costs you something. I'd call this a true win.
(I recognize there are dire situations where cheating might be warranted. I hope you're not there yet.)
Either it wasn't a true "zero" but rather they were really good e.g. at advanced math or physics and managed to see some parallels, or it has to be a genius. I'd be very interested in hiring such a person.
The code to solve basically all of them look nearly identical after you classify it and the questions asked (what's the big O of this) are also all identical.
It's an extremely narrow and teachable class of problems.
There's outliers for sure but the 80th percentile are basically just the same damn things slightly rephrased. It's extremely gameable and doesn't test the kind of breadth say, fixing a crashing program would show.
Here's a list of 16 https://github.com/Chanda-Abdul/Several-Coding-Patterns-for-... ... That's the 99th percentile.
If you think someone passing that means they can fix the conda bug in your k8s cluster or whatever real problem you have, dream on. It'd be like hiring a cook by quizzing them on the names of kitchen utensils.
They give the candidate some messy, done-in-a-hurry code (but not purposefully obfuscated) and ask them to refactor it to the best of their ability. The interviewer sits next to the candidate and talks to them throughout the whole process. It's pretty much pair programming, but the candidate has the initiative.
I found it to be a breath of fresh air after all the leetcode interviews. Of course, they have the luxury of doing this, because they know what exact technologies they are using and they don't need to measure candidate's ability to learn new tech, etc. In their situation they are more interested in topics like whether the candidate can produce maintainable code, name things properly or communicate with co-workers.
Well leetcode interviews do not measure the candidate's ability to learn new tech either, do they?
Although I don't find it very relevant. When I was fresh out of university, I was good with algorithms / data structures (neither of which I use much in actual work), therefore able to pass leetcode interviews just fine. Yet it was at the time challenging for me to learn new frameworks and I found all of the tooling I never heard of rather confusing.
If you are looking to hire people to write < 50 line snippets, it works fine. Pretty much useless for everything else.
The big companies that have LeetCode in their process also have system design, behavioral, resume review, and experience review as part of the process.
I’m sure some bad companies are using LeetCode as the entire interview process, but it’s not how it’s normally used.
What's super interesting is I have actually had people pretty much fail the basic stuff (which was probably nerves) and then go on and kill the code review section in ways that shows their serious expertise.
IMO interviews are pretty bad at demonstrating people's ability to work, but if you can zoom in and out on a problem and do good enough on the coding stuff its usually a win.
1) A way to suppress wages and job mobility for SWE. Who wants to switch jobs when it means studying for a month or two? Also, if you get unlucky and some try hard drops an atomic LC hard bomb on you now you have an entire company you can no longer apply to for a year.
2) A way to mask bias in the process while claiming that it’s a fair process because everyone has a clear/similar objective.
Meet someone who went to your Alma mater? Same gender? Same race? Give them the same question as everyone else, but hint them through it, ignore some syntax errors, and give them a strong hire for “communication” when they didn’t even implement the optimal approach…
Or is it someone you don’t like for X reason? Drop a leetcode hard on them and send them packing and just remain silent the entire interview.
To the company this is acceptable noise, but to the individual, this is costing us 100s of thousands of dollars, because there’s only a handful of companies that pay well and they all have the same interview process. Failing 3 interviews probably means you’re now out $200-300k of additional compensation from the top paying companies.
I’ve interviewed for and at FAANGs. I can’t believe the low bar of people that we’ve hired, while simultaneously seeing insane ridiculous quad tree/number theory type questions that have caused other great engineers to miss out on good opportunities.
Someone will reply to me “if you know how to problem solve you will always pass.” Ok, come interview with me and I will ask you verbatim one of those quad tree/number theory/inclusion exclusion principle questions and I’d love to see you squirm, meanwhile another candidate is asked a basic hash map question.
The problem isn't standardized tests, it's that leetcode questions are about having the time to have learnt the answer beforehand, rather than raw ability for problem solving.
This is how I learned mathematics for example.
After you have learnt enough of the special cases (trees) you start to be able to connect them and see their relation (the forest).
This sounds like you want to penalize students who studied for the exams. Or at least not reward them.
Like all interview formats, it’s a proxy for understanding if the prospect would be able to get the work done and be a good fit with the rest of the team. I’d say it’s a pretty good proxy for work ethic at crunch time as well.
If your complaint is that a normal person wouldn’t have the time to study these things in detail, why would a company want to hire someone who has external obligations?
I've done tests like this for some companies. It felt a lot fairer and more closely resembling the actual work environment than live leet-code interviews, with biased interviewer(s) and a stress factor that's not a part of the actual job.
This is what privilege looks like. The inability to see barriers that affect others in a worse position.
Standards do not imply fairness only consistency.
You got a test that filters out people who lack the time to train for these tests. Basically, devs with a life (see family)
Is there a solution that you'd recommend?
Is the culture just so broken at these companies that it’s hopeless to expect people NOT to blatantly exploit the system for their friends? Why don’t people get fired for doing that?
Yes. Because interviewing is
1. hard, but no company has proper full time proctors. So "expert interviewers" are a rarity
2. not standardized in the slightest. So your performance varies entirely by the interviewer, their style, and their mood that day.
3. some weird blind test where you hope you studied the right topics. You're not getting the best out of a candidate, you're basically hoping they read your mind and know exactly what you want them to say.
>Is the culture just so broken at these companies that it’s hopeless to expect people NOT to blatantly exploit the system for their friends? Why don’t people get fired for doing that?
Sure. but that's a universal problem. "It's who you know, not what you know" is advice that has spanned centuries. I can't even blame the modern tech industry for that one.
That + the above issues with interviewing mean you're always going to go with a referral over a random applicant.
How do you catch them? Unless they’re idiots they’ll write facially plausible explanations of their hire/no-hire decisions.
How is this any less discriminatory than any other assessment based interview where you need to prepare? Non-assessment based interviews end up being vibes based which is much more discriminatory.
It can make the process fairer but it's not a given. You can do the classic "no dogs, no blacks no Irish," and that was a standard across pubs in England. It certainly wasn't fair, unless you were racist.
If you're committed to fairness, then a standard will help. It gives you a clear point to fix and improve things and something you can use to measure if you're achieving your stated goals. That's definitely something you can't do if you're just making things up as you go along.
And yes, I made a deliberately provocative statement. I'm obviously not saying whiteboard tests are the equivalent of segregation.
...a standardized test? No. There are tests. They sure as heck aren't standardized.
Maybe they should be, since everyone seems to be doing the same thing.
Many companies have question banks that are specially designed to be fair/have some contextual relevance (ideally) to some "realistic" problem. Or at least, many of the companies I've interviewed at follow this model. I consider these coding questions to be "leetcode" style because at the end of the day they are an isolated coding problem, even though they may not be a problem from leetcode verbatim.
Companies that execute on that style of interview well are generally fairly pleasant interviews, at least in my experience. Good companies/interviewers will gauge more than just the final code to determine a hire or no hire. And a large portion of companies also have hiring ratings on a scale to make it less binary.
This is ironic considering these companies have forced mandatory DEI seminars (which I have no problem with btw), inclusive language, #EveryoneCanCode, and so on.
But despite all this, you end up with teams and organizations that are 99% of the same X somehow. Replace X with race, school, even state from home country sometimes.
You know there are websites where people share all the interview questions to these hard interviews / referrals exclusively in their language and behind a pay or rep wall? And there are Telegram groups where international students leaks the questions or do interviews in place for one another.
It’s inevitable these types of issues arise when there’s so much at stake, ex: in just 5 years, a $200k TC advantage at a top company, becomes $1m or more with appreciation.
I just really dislike the veneer of “fairness” when there are so many problems with the process, even beyond the questions that have nothing to do with the job.
I really do wonder what those sanctimonious sermons are meant to accomplish. People who are already ideologically aligned with them won't learn anything new and may just resent it, while people who aren't aligned won't become aligned as a result of that "training".
But you're talking about it as though you expect it to have a constructive impact, resulting in irony when it doesn't. I don't see the irony because I don't expect any benefit from those struggle sessions in the first place.
Question banks that are too small: leaked on eastern forums immediately, candidates show up reading answers out to you (some of the guides include guidance on when to pretend to think, I am not kidding).
The idealized version of "question banks" might work. The real one does not; you'd require employees constantly scouring forums in every language known to mankind, immediately removing anything that gets leaked. On top of that you'd probably require a competent committee overseeing all questions in the bank constantly and ensuring the lack of variance in difficulty.
Source: I interviewed at and for Goog and Pltr.
There will be bad actors regardless of the interview style, thats why companies have multiple interview types/styles/rounds to sus out a candidate, as you probably know.
If they BSed their way through a leetcode interview, then they probably won't make it past a behavioral interview where they have to go in depth on some past project. And if they BSed that as well as every other round, then hey maybe they are crafty enough to succeed at the actual job.
What exactly are "Eastern forums"? "Eastern" what? Europe? Asia? The world?
The reality is, fizz buzz got us 75% of the way there. It turns out when pressed, a lot of people can't write code. Yes, there's false positives, but there's also people brute focing their way through via copy & paste.
This doesn't manifest as a person who can't do any task, just as a person that's slow, delivers weird abstractions, and would take a lot of your time to get anything useful from.
But those people are also making those arguments, because, as you said, there's hundreds of thousands of dollars in it.
As an early 2000s integrator/analytics I learned to write code when someone watches out of interest or straight time pressure (still taxing sometimes). But most developers that I know intellectually curl up in such situation, regardless of their skill or performance levels. We worked with one very math-y low-level-skilled guy whom our clients described as “literally freezes for an hour without moving, should we pay for it?” when he did field work. He was a very strong developer otherwise.
Not that a company must hire or want these people, but the idea of writing code under uncanny pressure all day makes as much sense as that swordfish scene.
Further still, I get push back with folks citing self-prescribed medical conditions, but the same people generally display the same behaviours during the working day.
So other than contract to hire, which typically limits you to people with a job, I don't personally have a better way.
I suspect quite a lot of people who are labelled as "can't code" are freezing like I did.
The failure rate of FizzBuzz has always struck me as depending on the idea that you can do a lot of programming and just never need that operator.
The specific failure was that I first attempted to solve by using repeated subtraction. The guy kept asking me to "solve it a different way", or saying "there is a better way to solve this". I tried using arithmetic tables, I tried using results about base10 remainders and I even tried using one of the corollaries to Fermat's little theorem to speed it up for larger inputs... every time I was told I was getting it wrong because "there was a better solution". In the end he pointed out that the only solution he would accept was use of the mod operator.
Since then I have actively kept a tally: I naturally use the mod operator an average of twice a calendar year, it has always been in personal life code when dealing with complicated geometry problems, the bit of code containing it almost always fails on some edgecase because at the point of using mod it is convoluted.
We would both test the basics as well as go through with the candidate on how they think, how they collaborate, help them out if we felt nervousness was impacting them showing their skills, and in the end got a much better grasp on how skilled they were than if we were looking at Github repos or giving DS&A trivias to solve.
This is something I can easily solve in 5-10 minutes, correctly handling every plausible corner-case.
I'm curious how common this is, statistically speaking. I'm also curious how it correlates with other things about the interviewee.
For companies this is very rational, you want non-distracted employees who can work over time.
In all my years of sw dev the number of times that would have helped vs being able to communicate and manage expectations across a swath of people is like 1:1000.
If you want to earn top money, you gotta play the game. This is true in every profession, you think lawyers that want to work at top law firms have it any easier?
There's a lot of valid criticism with respect to today's tech hiring practices (especially because it doesn't only affect top paying companies), but I don't feel like "I can't get ridiculously wealthy without selling my soul" is a particularly compelling one.
Everything is a proxy because, in most scenarios, there is no way to understand effectiveness of an employee until they have worked for you for a while.
Of course there are other ways, but they all carry their own risks.
That’s why referrals, imperfect as they are, carry so much sway. In theory they reduce uncertainty and require some expenditure of political capital.
If Google engineers all wore pink robes and top hats while interviewing then we'd see that everywhere.
If this was just FAANG I wouldn't even mind it. Bigger compensation means bigger hoops to jump through, artificial or otherwise. At least those bigger companies come with interview guides.
But I've been dropped Leetcode mediums on some Unity game dev jobs barely paying 40/hr with minimal benefits. Game interviews already have an absurd number of topics to try and guess you'll be quizzed on. (last interview wanted low level C memory/bit manipulation question... the one before that did Unreal Engine trivia... then the one before that decided to give me vector math and ray intersection questions), adding in random string manipulation questions when you will barely use more than concatenation on the job doesn't help with studying.
Game dev is lower paying, less structured, and more involved than typical web dev jobs.
I’d really only want to get into game dev early in my career or as an independent creator. It’s a touch exploitative.
- CPU/GPU architecture
- graphics/shader programming ( I do enjoy graphics programming, but I have been asked these questions despite not applying for graphics roles)
- GPGPU
- traditional software engineering (programming patterns, architecture)
- netcode (I never applied to a network engineering position. I in fact actively avoid that part of the stack)
- general industry questions (what kinds of bugs can appear on shipping build that may not appear on debug builds?)
- a myriad of gameplay programming paradigms
- coding tests in Unity, despite applying for an unreal engine position (this has in fact happened twice now. I know Unity, but come on: can you imagine getting a javascript test for a c++ position?).
I've been asked all of these in some capacity over the years. At what point is it on me for not being some sort of omni net/graphics/engine gamedev that can answer any question on the fly, and not on the company for being paranoid about professionals studying for the skills they are clearly seeking? If someone can "study for your interview", why wouldn't you want that person? That's what they do on the job after all.
> I’d really only want to get into game dev early in my career or as an independent creator.
I'm already 8 years in, so a bit late for that. My plan is eventually to go indie, but I need a bit more time in my career before making that jump.
Despite the common advice c. 2022, getting a boring cushy tech job right now isn't very viable, so may as well stick to what I'm actually getting interviews for.
Well, that and how almost nobody who successfully finds employment after "grinding" leetcodes wants to remove the barriers for entry.
I think Leetcoders can't envisage a better way to assess someone than by subjecting them to the same kind of hoop-jumping you get made to do in university. They're not interviewing you for a job as there's no module on interviewing candidates on the CS curriculum, and don't have much professional experience outside of academics or software engineering. They're simulating a dissertation defence, because that's how they were assessed for their competence.
That's my charitable interpretation. If I'm being cynical, it's elitism - a way of making sure you're "one of us" (read: obnoxiously academic, Type-A personality, "logic over feelings").
Not that many, but its interesting how many are from "elite" universities. I'm in a research org for a FAANG and we often get to see all the handwringing about how we can't recruit more of people type x.
Well, if you only hire from MIT, Stanford, Oxford etc, then they are all going to look the same.
For those outside the research org, its a bit better, but its still the most uneven place I've worked.
Suppose there was a SWE union and the union has to create their own reference compensation bands. Would the union again lean towards leetcode or some other standardized test? Or just use years of experience and maybe past projects?
When weighing the “effectiveness” of leetcode interviews, it’s important to weigh that thus far SWEs have failed to effectively unionize despite e.g. the past class-action no-poaches clearly showing C-suites should be paying engineers a larger share.
That depends very much on your world view. If you get the job, it would imply you've just cost a lot of other people $100ks. That simply can't be true, because there's a small number of such jobs.
The only way this can possibly hold is if you hold that only the "best" candidate should get the job, and by "best" you mean: the one that gets most of the leetcode questions right. But then there's no us.
Edit: I'm not in favor of leetcode interviews, and I do understand that there's a bias in interviews (which won't go away when you drop the leetcode).
I do not know how hiring is done at megacorps; but on the few occasions I participated in tech interviews, we were looking for candidates to join the team that I was on. So, what I was interested about the candidates was how well they were prepared for the kind of work our team does; and how much I would like to work with them. I am sure this second question introduces all sorts of subjective biases; but then, hey, aren't you going to spend countless future hours with that person? At least the first concern incentivised us to make sure candidates were sufficiently competent. BTW, we didn't ask leetcode-type questions.
> but to the individual, this is costing us 100s of thousands of dollars, because there’s only a handful of companies that pay well and they all have the same interview process
I am not sure I am following the argument. If there is only a handful of companies that pay well, and if you only consider companies out of that list for employment, isn't it reasonable to predict that there will be lots of other candidates who want the same, far more than the number of available positions at those companies. How, then, should those companies select from such a pool of candidates?
For those wondering what the alternative is to leetcode: a work sample test. Take a real problem your team solved recently, distill it down to remove internal-specific knowledge, and give candidates 3x the time to solve it compared to what it takes an internal dev to solve. Bonus points for having a rubric guide the scoring.
One time in a technical interview I realized a quadtree would solve the problem they were asking. I also happened to be reading SICP and practical common lisp on the plane on the way over to the interview. (specifically the sql sdl macro chapter) Unfortunately this gave me an idea. I narrated, sketched out and pseudocoded a plist based quadtree on the whiteboard and felt pretty good about myself.
I turned around to see my interviewers were not impressed. Actually they thought I was an idiot. They didnt know what a quadtree was, and they were quite upset I used "tuples".
I assured them its very efficient, and that the compiler would take care of "the tuples".
They failed me. Moral of the story don't use common lisp in a javascript interview.
- Input from the interviewer reflects communication ability, cultural fit, and so on of the candidate.
- Input from the blind grader reflects ability of them as a team.
- Low grades count against the interviewer as well.
Bingo; now both are stakeholders in success.
OTOH, seeing how the interviewer reacts to that situation will tell you a lot about whether you really want to work there.
The absurd filter is just some kind of lottery. They could have a different one: at the end of the day, it's only when the person starts working that you can actually see what they are worth.
The thing with a filter like this one is that it filters out a whole category of people who may actually be good. And it reinforces itself: you hire people who are good at leetcode, who will themselves possibly be good at hiring people who are good at leetcode. Does a company of leetcoders perform better than a company made of a diversity of good engineers? Not clear.
Very much a tangent, but what do you mean by a company being "ethical"?
I have a few concerns about how that term is often used in these discussions:
(1) it's treated as a binary quality, rather than some kind of continuum, and
(2) there's rarely a recognition that different persons have different conceptions of what's ethical, let alone a justification for what the writer's preferred definition is uniquely superior.
However, we do require a base level of competency. We give out a 40-ish minute assessment. Two multiple choice and three coding problems.
And they’re easy. One of them is essentially “John has a 5 gallon bucket and 3 gallon bucket, how many buckets does he have?”. All you have to do is rewrite the clearly labeled circuit diagram as a Boolean expression.
Not a single person this round has passed. Several have failed the simple ones.
So while grilling people on the minutiae of a language or asking them to solve the traveling salesman is not beneficial, neither is nothing.
We should be testing floors, not ceilings
higher education, even job experience is no longer considered a sufficient barrier to entry.
reminds me when the guy who wrote homebrew failed the apple interview. if i recall.
ironic because they use brew so much internally.
I prepared thoroughly for all four main questions and any other plausible ones I could think of. I practiced writing solutions to ensure I was fast enough for the interview. Additionally, I pre-prepared ideal answers for each question in case I got stuck.
When the interview came, I got a total curveball: a question that was significantly harder than the usual ones. It didn't fit the round's theme (it was a DSA question, but I'd already aced the DSA round), was obscure enough not to be on LeetCode, and required writing a solver for a hard variant of a known algorithm. I panicked, copied the prompt into ChatGPT (despite being instructed not to use it), transcribed the result, and pretended I had recently studied the relevant algorithm.
I passed the round, nailed the other interviews, got the offer, and accepted. Later, I found out that interviewers are instructed to pick one of four specific questions for that round, and the one I got wasn't in the list.
I'm left wondering if the interviewer was trying to sink me or was just bored with the usual questions. The whole experience raised several questions for me:
Is it cheating if I already had pre-prepared answers for the questions they were supposed to ask? What's the difference between using pre-prepared answers and using Google or ChatGPT during the interview?
If the interview had gone according to plan, what was I actually demonstrating? My ability to use Google?
When the interviewer asked an impossibly difficult question, I would have failed if I answered it legit, even though I'm a good engineer. Failing such an unfair interview round doesn't serve the company's interests.
What is this interview process meant to demonstrate? My true value as an engineer lies in my ability to communicate clearly, think outside the box, identify and address technical tradeoffs, mentor juniors, and propose technical solutions that meet requirements while minimizing risks. Yet, I'm expected to solve a hard variant of the Traveling Salesman Problem in 45 minutes or I don't get the job? Why?
The whole process seems broken, but I'm not sure how to fix it.
IIUC, the interview deviated from the company's interview policies.
Could the answer simply be that the company has no intentions regarding the aberrant interview process that you experienced?
If what Google search tells me is true the average SWE tenure is only a couple of years or so.
I might need a month or two of study (or more!) to be able to handle the harder Leetcode problems, but if I was expecting to have to do this every couple of years or so I'd consider taking some steps to maintain that knowledge between jobs.
That would probably be considerably less overall effort than forgetting it and having to cram for months every couple of years.
But that would dramatically increase worker mobility, for one thing. So they don’t do that.
(“No it’s because they don’t want you to be able to test prep” that makes no sense because 99% of the way to prep for these is… exactly like test prep)
Leetcode is lazy, easy.
I don't think this is an issue of bad luck, its quite probably to get difficult interviews especially if you're applying to the popular names.
> A way to suppress wages
> A way to mask bias
> Same gender? Same race?
> someone you don’t like
Ok fair points. it really could be a thing when you've already decided and are just playing around the process. But ya'know even when there isn't an inherent bias from race, gender, alma maters and overall like ability, the whole tech interview process still sucks.The shit soup presented at a coding interview, leetcode or take home style ones are a result of wholesale cargo cult stupidity than malice.
There's no incentive at any level in BigCo. Margins are too big for top level to care. its hard to measure, middle management layer can easily fudge metrics while driving the org effectively into the ground. Lower layer that made it through the filter, sick of this grind and are busy filing tasks sipping free coffee.
The elephant in the room is that you cannot make hiring a process driven activity.
This is org level dysfunction. There's more such exhibits - DEI, promo criteria, ERGs, re-org politics, vendor selection to name a few.
with all due respect I believe this is about as far from the truth as it gets. I believe the issue is that people think they have to work at FAANGs in order to be paid REALLY well which is just nuts.
I know many people making (very) high 6 figures working at places most have never heard of. instead of looking for FAANGs people should be looking at companies that have been in business for 20+ years (if publicly-traded company the easiest "measure" would be whether you would invest your own dough into that company) and then make your self indispensable there (this is much easier than it sounds) to a point where you are more valuable to the company they company is to you. This is un-achievable at FAANG but this should be everyone's career goal. once you are worth more to a company then company is to you, compensation-wise sky is the limit :)
You know people making ~800-900k at places most people have never heard of? That is what "high 6 figures" means. I have to assume you mean more like ~$180-190k?
Not trying to brag that I have well-paid friends, though it might come across that way; just corroborating the fact that it's possible for late-career professionals to make that kind of money at non-FAANG companies.
See, this is true eventually. But it's _definitely_ not true in 45 minutes.
Why don't you list them here to illustrate your point?
Whiteboard interviews are a good way to evaluate these skills - assuming the candidate hasn't seen this particular problem before and the interviewer understands that this is what they're supposed to look for.
Goodhart's law applies - the measure becomes a target and it ceases to be a good measure.
People who have weak problem solving skills or poor abilities to form mental models still want high paying software jobs so they "grind leetcode" until they can pass these interviews.
Then over time these grinders get high enough up they start becoming interviewers themselves and they don't understand that they're even supposed to screen for talent, they conduct the interview like a memory test since to them that's what it was.
In spite of this, there's no better interview type I've seen proposed given the constraints most companies are under (don't waste candidate's time, have a consistent rubric that HR likes, etc.) so for now we're going to keep using it.
Ask the candidate to build a known quantity like say, a calculator, calendar, whatever or give them a bunch of code and have them modify it in some way or discover a bug.
Something closer to building software. Leet code is too far away from it and the performance on it too poorly correlated with actual suitability.
It follows that better leetcode scoring is a good indicator of who can be replaced with LLM.
They say As hire Bs and Bs hire Cs . . . and to combat that we've added more leetcode to the interview process.
Yeah, right. Why would companies truly care about this issue and put any effort into making their hiring process feel less hostile when they still have loads of candidates who are more than willing to go through whatever tests they get asked during interviews? It's a leaky bucket and they're happy with the status quo while developers keep grinding away... I doubt it will change anytime soon, but I'm glad I can afford to put my foot down and refuse to do such interviews when I need to find new jobs.
The CEO chased me out into the parking lot and begged me to tell him what I saw and why the interview went awry. He was legitimately shocked that an interviewee could make such a decision, mid-interview .. All I could tell him was that it wasn't going to be a great fit, the culture didn't seem aligned, and the people who were brought in to the interview seemed desperate and hostile to each other - and that simply wasn't the way I had hoped that the company operated.
People forget that job interviews are a two-way street.
I realized that day that I have every right to inspect all aspects of a company that I might work for, and that I don't really have to make compromises if I see something negative during the process. It was the right decision because the very next day, at another competing firm, I met folks who have continued to be good, close friends and colleagues, whom I actually really enjoy being around.
This profession is fun. But when the fun gets farmed and exploited, its enslavement like any other.
I had an interview for a company in the south of England a long time ago. The first half went okay, then in the second half the whiteboard came out, and I was asked to "implement C++ object oriented method dispatch in C" with a chunky marker pen. I mean, it's not exactly a rocket science question, but it's not easy either (on a whiteboard, with a chunky pen), and in the end it just felt like it was some weird hazing rather than any test of my actual software development or programming ability.
I stayed in the interview, went home, never heard from them again. I ended up getting a job at a different studio that had a slightly saner technical interview, and after I started there, I heard the first place had gone bankrupt! Sometimes you just dodge bullets...
It tests knowledge of the C++ vtable and function pointers, which is probably a good marker for intermediate-level C++ knowledge. Especially for debugging some heinous bugs.
I laughed when I read that - turning around the same BS they spew for why they claim they didn't hire someone.
I think this is really contingent on your negotiating position.
I've been unemployed for over a year. The lower my savings get, the less picky I can be about potential employers.
> I have a personal policy against any type of live coding or online coding tests during interviews and I don't enjoy or engage in any form of competitive programming. Otherwise, I am happy to work offline on coding assignments with reasonable goals and deadlines and to have in-depth technical discussions about software architecture and design as well as relevant technologies.
My main concern is that with the allegedly rampant cheating on take-home assignments, the number of employers willing to use them may drop precipitously.
PS: What this approach gives me is piece of mind since I know I won't get a surprise-Leetcode if I go through an interview. It has happened to me in the past, where the recruiter wasn't really aware what the process is and I haven't told them up front what I'm not OK with. Once I'm there in front of people, it's very awkward and frustrating for me to have to get up and walk out and I'd very much rather avoid that situation. Also, it's a waste of my time.
1. Do you work hard (i.e a person who studies many problems, memorizes solutions, and regurgitates then)
2. Are you smart (i.e a person who doesn't do any leetcode but knows the fundamentals and can sythesize past knowledge well enough to answer a new question)
Now in a vaccuum, my takeaway from someone who doesn't pass a leetcode question is that they are more likely to not be either of those (given no other information about them). In my opinion, solving at least one leetcode easy - medium question (maybe with some direction from the interviewer) should be the standard for any role where you need to code.
And realistically, companies index less on leetcode skill as you become more senior or apply to more niche roles. And plenty of companies out there have bug squash rounds, system design, behaviorals, take homes, trivia, background specific questions, etc. Leetcode is usually not the be all end all for hires above entry level. Leetcode is not meant to magically select for the best engineers. Its simply another signal for the hiring committee to use.
It leaves out looking at the engineering skills it takes to put something past the finish line on budget.
It's at best, an adjacent sideshow and at worse a proxy for ageism to preference people closer to 19 and less capable at getting quality software out the door.
And maybe that's why the industry has such a damn hard time getting quality software out the door.
Maybe.
Here's a far better idea. Give them a broken build or crashed code or some other failure and ask them to fix it. If they can navigate around a system, diagnose a defect, find the cause, offer a patch, and match the coding/commenting style etc, that's an actual player you need, not someone who can still solve an algo question from their CS101B midterm exam at 37.
This version can go deep as well. You can have separate branches and an issue tracker, maybe with the conversation of the bug already going. Maybe the comments have a patchfile that needs to be manually applied. Maybe the patch has a new bug in it ... Perhaps it's a red herring and addressing a similar but unrelated issue. Maybe it's a closed bug and a regression and nobody wrote a unit test for it. Maybe the unit test is there and it's up to the candidate to discover it or the unit test is out of date, buggy and useless.
This is the real stuff.
Get them to communicate after. Saying something like "the unit tests were broken" versus "I was unable to understand how to get them to work right so I moved on" ... That's a huge difference in attitude - only one of them is a team player.
I've known people who program things like jet engines and stuff that goes into space. They know their stuff, are super methodical and take their damn time to do it well.
Quality programming is a rarely practiced time consuming art and you'd be lucky if you have 10% of your workforce doing it. Heck, you'd be lucky if you have 1%. Those people save the ship.
I'm not one of them. When you meet them, they're like a different kind of human.
If you timebox them to 30 minutes, the people who write mission-critical quality code will fail to get it in on time and be filtered out.
These are the people who write those 10,000 word articles that appear on HN with carefully constructed schematics, equations, and code that you struggle to understand and bookmark to study later.
On the other hand, if you give people 5 hours, I assure you, the morons will still obviously be morons and you give the "True" Engineers who take their craft dead seriously a chance to shine.
Most people applying already have a job. And if they work hard its actually quite uncommon for them to have ample energy to do leetcode questions on the side. So you might get the opposite - you'll get candidates who aren't great performers in their current roles but used their extra energy to grind leetcode.
Leetcode questions can by definition never come close to real life problems - they are simply out of context. Working on a project even a few weeks will grant a smart person any insights he might actually need. The kind of out of the blue puzzle problem a leetcode presents is more akin to crosswords in old leisure magazines.
I'm sorry but it's incredible hubris to think you'll come up with say Dijkstra's algorithm during the interview from the first principles. The only reason you can do it is you studied it before.
Chance of someone
- seeing it before: 10%
- being a liar: 5%
- being the next Claude Shannon: 0.000001%
So someone coming up with the right answer and claiming they've seen it is useless.
Right answer and claiming they hadn't seen it is basically a guaranteed liar.
You can use it to filter out the liars I guess. But you'll also filter out your Claude Shannons as well.
Either way, it's a dumb test unless you're genuinely getting a steady stream of Princeton and Cambridge magna cum laudes waltzing through the door and can reliable bump the last two priors by a few decimal points.
when does this start? I'm over 8 years in and I'm tired of being told to make a dang NxM Bingo solver in 30 minutes.
>Leetcode is not meant to magically select for the best engineers.
I'd agree with you in 2022. in 2024, I'm being way more filtered out for questions that I get right but didn't solve fast enough, or with zero hints. I was never a leetcode savant (too many other things to study for, and LC is maybe 20% of my interviews) but I don't feel that much worse than 2 years ago. Companies just have sky high expectations and are on a bargain bin for 15+ year roles paying 5 year salaries.
Even worse: it misses out on the hire people with no formal training too busy to waste time on skills with little use outside of the interview (in the real world, they'd use a library).
This isn't working hard. And you are competing with the people that are working smart. Such as people having a separate computer/screen to either look up the answer to a problem or ask an LLM to regurgitate some code you can transcribe. It selects for people that are dishonest.
> 2. Are you smart (i.e a person who doesn't do any leetcode but knows the fundamentals and can sythesize past knowledge well enough to answer a new question)
See above. A lot of the problems have nothing to do with real world coding scenarios. Do I need to pull out memoization and know how to work with grammar rules off the top of my head? Or the functionality of quad trees and how it applies to partitioning? No; I've literally never used them in my career and likely never will. What I do need as a software engineer is understanding the high level concepts and when to apply them and refresh myself on the use case when and if appropriate.
It's been proven many times that the severity of an initiation ceremony significantly boosts the commitment of those admitted to the group.
What is a better capitalistic company hiring programmers:
>Lots of smart similar people who believe in correct answers
>Lots of random skilled people
If you said the latter, you are idealistic and your opinion genuinely doesnt matter. Nature will replace you with someone smarter and realistic.
Citation needed
The (best) seniors just use a library. The good candidates roll their own, but can explain the tradeoffs. The juniors get the test to pass and stop.
What? Do you have something against zip codes and email addresses?
I like to ask something to do with strings - English sentences. I tell them it's intractable in the time we have and that I really want to see how they whitebox-test the code they write, so take ~10m timebox to write the code, then write some tests - at least one test that finds a bug.
https://github.com/emilybache/GildedRose-Refactoring-Kata
in their favorite language. Has been a very effective filter
When I make interviews I also come with the code, normally a few line snippet and have the person tell me what it does or whether there might be a bug and talk about it.
Reviews are also great. They take away the show-cooking aspect where many people feel nervous and makes it more conversational. It is also very easy to evaluate as well because everybody debugs code at some point.
I personally dislike even fizzbuzz because there are always clever ways to go around it that are totally irrelevant.
I was once asked to implement sort a list in python, so I just took the list and passed them to sort. But no the interviewer wanted me to implement a specific type of sort…this was for a distribution maintainer job and I almost failed it because of that. Fortunately the other stages were actually technology related and I aced them.
In any interview, I kind of presume that the interviewer has a "perfect answer" in mind and is playing some game where I basically need to guess what number they're thinking of.
I'd make it clear that anything is ok. Just go some direction
And the problem can be scaled to any complexity. Distributed/Design/Data Storage
It's kind of like math. If you need to multiply 562 * 1041, you should use a calculator. If you need to reach for a calculator to tell me how much 3 * 7 is, I will doubt that you are an expert.
Many companies overdo the leetcode interviews. A live coding interview that shows that a person can do array manipulation, implement flow control, and use basic data structures shows me that you have the muscle memory that only comes with experience. If you need to study graph-traversal algorithms in order to pass, it's probably too leet.
I think this is silly. On its own, you could imagine a kid in college who had just seen an example of HashMap in Java remembering what the import was.
But this isn't the only thing you need in a program. There's going to be many things that are trivial that your program needs, all of which would need to be memorized in your world.
> If you need to multiply 562 * 1041, you should use a calculator. If you need to reach for a calculator to tell me how much 3 * 7 is, I will doubt that you are an expert.
The strange thing about this is, I would expect you to know how to calculate 562 * 1041, in other words the principle of how it works. You might mess up the calculation, but you can't mess up the idea of how long multiplication works. In that context, it is perfectly permissible that you have forgotten some entry in the times table, like 3 * 7.
After all, you are a programmer, you organize calculations, you do not work them out yourself, the computer does that.
> If you need to study graph-traversal algorithms in order to pass, it's probably too leet.
This I agree with. You should know where to find the solution to whatever the issue is, you don't need all the solutions to hand.
Eclipse does not without me having to even look at it. IntelliJ does the same. In what situation these people had to import it by hand? They had no ide available or what?
Even though Eclipse does it, I'm sure you know where HashMap lives. Some people are compile-and-pray type devs. They lean on auto-complete for everything, not as a productivity tool, but because they don't know how to do even basic things. We don't want those on our team.
> No IDE, specifically to test basic ability. We use a web-based shared editor, that has syntax highlighting, and auto-tabbing, but specifically no auto-complete nor auto-import.
I can sympathize with the candidate and think the test is poor and not surprised people had to look it up.
I've been doing Java since early 2000's and off the top of my head can't tell you what package HashMap is in without looking it up except it starts with `java.` something, probably. I type `HashMap` in my IDE, hit auto complete. I haven't needed to remember the exact package name since early 2000's when I started coding so don't know it, no need to, why waste space in my head for it. If there's a second HashMap class available on the class path I can tell you the one I want from the suggestion list.
You're trying to test someones memory on something they haven't needed to remember for decades now, knowing a specific fully qualified path to a class/what package it is in isn't a useful test. Knowing what a HashMap is and how to use it is useful.
Enable auto complete/import. You don't have it disabled for your currently employed devs and they'd not function well without it and probably fail the same test.
Why?
----
I'd struggle. It's a trivia question as it has no bearing on modern Java development
Modern IDEs both collapse the import section, and auto-import on the fly
The only reason I'd see the line is:
* Looking up documentation: very rare
* Conflict on the import - unlikely
* Code Reviews - skimmed over
It's a valuable skill to recognize which knowledge is important, and which is fluff you shouldn't waste cycles on. Knowing what a hashmap is useful for, when to use it, and when it's suboptimal, is important. Memorizing import paths is not.
[edit] oh god it’s closer to 24 years. The time, how she flies.
Facebook to this day disables intellisense in their coderpad interviews.
It's fucked up.
I don't get what these tests are trying to show.
Breadth? Depth? There's other ways. Give some complicated code that touches a bunch of things and have them work with that.
Not sure it's a satire about interviewer stereotype or...
I'd say it's a fine question if interviewers stopped treating their technical tests like trade secrets and just said "okay, interview is next week, make sure you know the some the basic built-in Java namespaces and yadda yadda". I can understand wanting to avoid googling, but consider the situations:
- someone truly out of their element won't pass, study or not
- someone who knows the stuff after a quick refresher is a perfectly functioning programmer, it's something all programmers do on the job.
- someone who truly knew nothing but could pass a test in a week is clearly a fast learner, the perfect candidate for many roles with changing demands
- and ofc the best interviewers aren't impacted. Simply more confident.
unless you truly need an expert/principle level engineer in a domain to solve problems (and let's be real: few companies do), I don't see many downsides to this approach.
A freshly graduate student has more chance to still know this or that algorithm, and prepare for that.
An old/experienced developer has dealt with plenty of real world complex problems. So much that his attention is absorbed by them, not by what is the best way to search for an element in a tree.
I think more likely though are the accidental favoritism in the industry where engineers submit resumes of other engineers they know who are looking for a job who, surprise, are also white males.
I don't believe it is either racist or sexist however. It's just "who people know". Nonetheless, you're going to build a hive-minded team if you don't go out of your way to break these patterns.
Perhaps similarly leetcode interviews come about from engineers who were leetcode interviewed. Again, no need to jump to ageism as the cause.
(And if anything I think it may have turned a corner where the older devs may have more experience with interesting algorithms that, I don't know, might not be taught any longer in CS?)
80% of my colleagues are Chinese and Indian. This is usually the case at most of my jobs that aren’t early stage startups.
At the same time, it seemed like the resumes passed in came disproportionately from the white males.
But at the same time this is just from memory so maybe I'm full of shit or its confirmation bias.
There are exceptions, of course. But for a very large majority of software engineering jobs leetcode is completely useless.
If you present me with an unknown problem that requires deep concentration a younger version of me might stand more chance.
I really suck at leetcode when tired.
I don't think its strictly a time issue, its an energy/motivation issue. 40 minutes of practice a day for a month or two should be sufficient for someone to solve/go over dozens of Leetcode questions. We all, literally all, have that time to spare otherwise we wouldn't touch our phones or ever watch T.V and yet most of us do.
But I don't disagree with you completely. I think the older you get, the more mental resistance you have to do the grind to become good at Leetcode. It just sucks that after 13 years of programming and accomplishing quite a few things I have to do this shit all over again just to get another job that's pretty much the same as I'm doing now - and this knowing that it sucks so bad - that you are reduced to a Leetcode monkey with all your experience, is quite a tough pill to swallow at 40. I am also a bit less inclined to look for a new job in general - I have a kid, have a comfortable job with stable income (well, relatively speaking its stable) etc etc. Sure I can go try chasing FAANG salaries but the reality is for me its psychologically much more comfortable to stay where I am and it may also be sensible when calculating the risk in moving jobs.
All it takes is a short problem to solve at home, which can be easily googled and one hour architecture interview, where we discuss the technical architecture of a hypothetical 'real world' service.
It takes about 20 minutes to determine if the candidate has the experience with the technologies listed in the resume. Little experience is not necessarily a show stopper.
True that the language we hire for (Clojure) filters out a lot of people ahead of time, but knowing the language is not exactly what I look for..
What I look for is 'passion' - does the candidate love programming and can the candidate articulate technical issues with ease.
The other question I try to answer - will the candidate enjoy working in our team and will we enjoy working with him/her.
Smart people will shine in a certain way, even if they bomb specific questions - they have an opinion, they try, they ask the right questions.
I'd be sad if we missed on some of the people in our team because of automated (inhuman) puzzle interviews.
We're not looking for a problem solving machine, we're looking for a partner to create something great together, someone who shares our passion for hacking and someone who we'd love to work with.
I share TFA's opinion that leetcode-style interviews are not the way to go and I hope the industry comes back around and focuses on the human side more.
Feeling a bit triggered by this - but also curious how you escaped :)
Feels nice to come into their stupid contrived behaviorals and not even care about the “Star” method or their stupid leadership principals. I even straight up told them in one interview that their principals were stupid and victim blaming. I’m shocked that they haven’t blacklisted me yet - and doing so would be nice because Amazon recruiter spam is actually quite annoying.
https://www.hackerrank.com/test/63ek10mhil5/60d306ab105867d8...
Idk anymore either and I refuse to conduct these interviews. I generally prefer somewhat realistic problems that are multi-disciplenary but have ties to real world applications related to the role.
I have just went through one interview that have 4 rounds.
1. half hour talk 2. 2 hours coding for several crud api. 3. system design project ( I spend 2 days on it. they told I have about a week on it) 4. another half hours with CTO.
and then got rejected. (The interviewers does not bother to send a reject letter. I asked them they told me the position is closed).
How generous. One job I asked for an update a few days after my assumedly last interview, 1 week afterwards, and then 3 week afterwards (right before the holidays)... even by the last response the recruiter simply said "we are still evaluating the best project to put you on" or something to that effect.
That was 8 months ago now. Going through 5 rounds of interviews into a rejection sucks, but at least be straight with me.
All the talk about diversity, but no diversity of thought. Only LC chasers. I genuinely believe this decreases innovation massively.
Nice belief, but good luck proving it.
I imagine the people grinding LC are harder working/more innovative than people who watched TV instead.
Then you provided your own false dichotomy and the argument went all wrong.
Sooo... its not much of a leap.
I suspect the original author of the article that spawned this comment thread prepared for the interview somewhat rather than watching TV instead - and still got sickened of the LT style interview.
I quit doing engineering work for companies, but back when I did, I'd take some complex code I'd written to interviews. I tell the interviewers that I'm happy to step through my code and explain it during the interview, but that I wasn't interested in wasting hours of my weekend writing a werpderzle or answering gotcha questions.
Some companies agreed and I ended up working for them and some companies didn't, so I'd end the interview. In my experience, companies that over-complicate the interview process also over-complicate their day-to-day work, and I don't have any interest in working in that sort of environment.
Interviewers tend to forget that they are in a dominant position: they have nothing to lose, they are the ones who take the decision, and they are the ones who chose the questions. I have been in such interviews where I completely failed, but where I am absolutely certain that I could have made the interviewer fail as well were the roles inverted. It feels a bit hypocritical to fail someone who did not actually do worse than you would have done...
Not specifically that but give it your own twist.
If they are confused remind them that getting along with people and fitting the team is at least as important as the ability to do work. The work is the least of your concern. It will probably involve dusting off some old skills and learning some new things.
I fondly remember laughing my ass off with the owner of a company about what a shit job he was offering. A shit job with shit pay, no wonder you are looking for employees. It took me 5 minutes to figure out there was no real job worth considering. We spend the better part of an hour just chatting after that. [In my opinion] he was drowning in work because he was to cheap, it makes the company unreliable.
From my experience you can say it's going to be good or bad right from the start. 5 minutes into an interview and you can already see where's it's going to end.
I don't understand when companies try to give test assignments to senior devs. Even if your GitHub or whatever profile is not rich with projects you can evaluate person's professional level during the conversation.
And I also hate stupid riddles during the interviews. But there was an interesting case. I got a couple of verbal puzzles that I should have solved right at that time and I failed. But I got the job anyway. So I guess if people in the company are common sense driven it helps to choose hiring strategies that work for both sides.
> I don't understand when companies try to give test assignments to senior developers.
I think this is perfectly valid, though. When I interview candidates, I start with the conversation and I can tell you that more often than not it goes very well: talking about software design, architecture, what they think about various frameworks, etc.
But you would be surprised how many people can talk their way through the interview, and then get totally blocked on a simple syntax error in the code. (Stress being accounted for).
I agree, though, that the questions should be fairly designed before the interview and be consistent with the level of the expertise expected for the position. I would never ask a senior developer to implement a FizzBuzz. We'd rather sketch an architecture for some piece of software with some specific constraints, discuss the choices of the language and libraries and argument them, etc. And yes, eventually code something: just sketch some core domain logic. I would never hire a software developer, whatever the level, without seeing them coding first.
It doesn't help that so many companies think they have slick ways to root out better qualified people when most are just a waste of time.
Of course I don’t know the replacement I just know I loathe doing these things and would rather learn more about what the day to day would be like, what’s the team like, the manager, the growth potential, etc. I am all proving my skills but can I do so in an environment that is more congruent with my actual work?
My best received interview question was for a bug/firefighting team. Based on a real bug we had, here is a sanitized repo (perl or python, our languages at the time) with some sql and data. We gave them three made up support tickets about some settings values being incorrect causing $issue. Dig into the utility script, find bugs, fix the data.
Even folks who didn't pass complemented the task
Every team of every job you enter does things in their own snowflakey way. If that's new or foreign to you, good luck.
You can permute some base instance in many ways. Filter out the comments in the code or change the variables and function names to be terse and cryptic.
BUT one of the things I've pretty much never needed is leetcode.
That says something about recruiting processes that evaluate you on your leetcode.
If you can't come up with an interview proecss that evaluates a developer against the bajllion things that developers have to do, then it says YOU the interviewer don't know what you are doing.
I think leetcode interviews are lack of imagination on the part of the interviewer.
Being good at programming does not make you good at assessing the capabilities of other programmers.
Exactly. I refuse to do them. Oh, your business is solving basic problems in computer science? I though you were an e-commerce platform that needed cleaning up your APIs and moving to a more efficient DB?
The distinction is subtle, but important in terms of what is needed for the role.
Most software engineers are going to be asked to solve problems and actively avoid recreating algorithms and libraries from scratch while doing so: it represents added time, risk of bugs, and complexity to do so for minimal gain in many cases.
For most software jobs, the more important role when it comes to algorithms is in choosing which algorithm is most relevant to a task, not implementing it from scratch. To do so is often wasting your companies' time.
It's unpopular, but most software engineering (including most of my own career) is closer to a plumber than a scientist. And you know what? We provide a lot of value as plumbers, as unsexy as it sounds.
It's for these reasons that I think leetcode is an unsuitable test for most software engineering positions.
I too used to hate leetcode questions, but after conducting 100s of interviews as an interviewer, leetcode style questions are the best way to test intelligence and coding skills ive found in general.
However, leetcoding interviews must be paired with system design and topgrading in order to have balanced interviews. Leetcoding alone is incomplete but i find it essential.
I work at a FAANG but if I had another interviewer I probably wouldn't.
For me it's the same process as the green card lottery: apply to your target company every year / six months (cooldown period) until you eventually get it.
But having experienced leetcode-style interviews on the candidate side, it's clear to me that they are no longer about figuring out and coding a solution on the spot. Interviewers expected a solution FAST, and to match that you need to have studied and learned the answer beforehand.
Yeah this is the real BS behind the tests. Good interviewers help you manage and try to find a solution. Not just "answer is binary tree"
But that "something" doesn't have to be leetcode. There are much better (and less abusive) ways of doing the same thing. All it takes is a programming problem that they've not seen before. That's it.
The industry only does it because it FEELS LIKE it tells you something relevant, and it FEELS LIKE you and your business must be important if this is how you interview people.
Makes sense, he is older and has two daughters.
I even considered leaving the field myself.
Also, a lot of the time it feels like the answer to most leetcode problem is some sort of trick.... and if you think of it you are golden and if you don't it sucks to be you. Most of the time I'm trying to write code that is NOT tricky... So in some ways I think the job itself will train you to seek simple clean solutions as opposed to tricks.
It's a kind of audition.
I’ve worked mainly on scientific software which requires a mix of domain knowledge and programming skills. I doubt many people who I’ve worked with would pass leetcode without spending a lot of time studying, because they primarily come from Physics/Engineering backgrounds, but that doesn’t mean that they are not good software engineers, that the software they’re writing is not performant, or that they can’t offer anything valuable.
At some point, you end up with questions that either lucky people or savants are able to answer. Yes, that might be an exaggeration, but it's not too far off the mark.
Applicants discovered, long ago, that if you simply grind every questions on LC - you will likely get asked some of those questions wherever you interview.
Companies fight back by asking harder questions. Before you know it, a standard interview consists of LC hard questions.
And with the advent of LLMs, it is even harder to sniff out candidates if the interviews are remote.
At some point you'll just have to re-do the whole process, and built it up from scratch.
Their consensus opinion was that a 'work sample test' was the most reliable means of assessing whether potential hire would be a good fit. Bring the person in and pay them to work with you, in your environment, on tasks parallel to what is needed, for a short period (anywhere from half a day to a consulting engagement) and base your decision on what you learn.
It is a really strong positive signal about a company if you see them doing this.
I'm guessing this works better for consultants than for regular employees, due to employment / tax laws.
Yes, if you go as far as treating them with the respect of paying them for their time. However, it can still be done in the many interview processes that take half- or a day's time but that don't pay the interviewee for their time.
I'm guessing that's illegal in the U.S., but maybe it's such small amount of money that companies aren't worried about the legal exposure.
Im going to randomly and silently draw from one of 3 topics that I understand, but nothing that I don't and would need to collaborate with you to solve. It must be something I have memorized so not to risk looking less smart than the interviewee. Good we have now hired the 10,000th copy of me, the company can now continue to produce the SAME garbage across 10,000 people. I have succeeded and can now be promoted to level 5.5 and 2/5th.
Which leads to the current state of IT/high-tech recruitment where things are, in most cases, so mismatched between ends and means, it's not even funny. It might be very entertaining to look at how people hiring for senior+ infrastructure roles (SRE, DevOps, what have you) try to use "leetcode" style stages - unless you are a desperate job seeker. (and no, I don't think an SRE or cloud infra engineer shouldn't be able to code, I just don't think leetcode-style tests are at all relevant as tests for that)
And at the end of the day you end up with an engineering org where in the intake funnel they ask you to [competitively] solve variants of the knapsack problem, but once in, you end up solving it in the form of "how do I slice and dice a set of tickets within a completely irrelevant, misaligned and misunderstood "Agile" model so that can best pack SPs into a sprint and also do some actually useful work".
* Available time to prepare (esp. when holding a job) = available to work long hours
* Self-motivate themselves for a long time (esp. to do such bullshit work)
* Mental capacity to remember all the material (esp. given its useless outside of the interview loop)
The flip of the coin are people who can't put in the time due to e.g. family obligations, don't have the motivation, or don't have the mental capacity.
But if you have any sort of track record (previous employment/projects you can talk about, active github account), they're just insulting. They shouldn't be wasting your time if they could just have a look at the things you accomplished.
That there's companies who make all interviewees take them just means there's not enough competent software developers with sufficient self respect to just refuse that kind of nonsense.
Not all of us get a chance to work with a great candidate pool. So, whenever someone fails to provide a solution given an integer list, find the pairs that sum is equal to N, I don't care how many technologies they have worked with or how well they can talk about it, I don't feel comfortable working with them.
I always thought that while Leetcode interviews are problematic because they don't represent most of the work you're going to do, they're much better than interviews where you're expected to namedrop specific API functions or design patterns.
Memorize that and you'll pass them all and won't be able to deal with 1,000,000 SLOC code bases in the slightest
Regarding “cheating” with an LLM, there is not unanimous consensus on that either. I’ve been in technical interviews where the collaborative coding tool had an LLM built right in, and I was encouraged to use it. If thats what I’m going to do at the company then demonstrating problem solving that way is useful.
Leetcode-style any day, over that.
The problem with this (and with grinding leetcode) is that it's not symmetric. If I'm in an interview, and you're wasting my time, you're also wasting your own. So the employer has some incentive not to waste my time. With a take home, though, they can feel free to waste my time, because it doesn't waste any of theirs. (And leetcode is the same. Yes, asking it in the interview takes their time as well. But all the time I spend grinding in preparation, they do not spend.)
For one special job that I really wanted to get, sure, I'd do a take home. For your average job for average pay? No. Your job isn't worth it. Don't waste my time.
That creates variety in the question bank, standardizes evaluation, and will only encourage engineers who really want to work on your stack and product combination.
I disagree. It’s supposed to be that, but the reality of the interview is that there isn’t any time to problem solve so you need to learn the problems and just regurgitate the solution.
That doesn’t put you in the top 0.1%, it ensures you’ve spent dozens of hours practicing questions.
It's much closer to day to day work than code challenges are, it doesn't involve the stress factor of an interviewer staring at you while you work on a leetcode, and you can have a followup technical interview to discuss the take-home in more detail.
The most recent take-home experience like this that I saw was with Clipboard health, and I thought it was a great experience. If I remember correctly, they used Woven Teams to automate the process.
Everyone knows how pointless it is. But it’s become more like paying the tax.
For the record, I typically give away the a-ha moment early on and see how the candidate is able to take the suggestion and work through a problem with me.
This is irrelevant. No interview can accurately reflect actual job behaviors.
Job interviews are a proxy. Either they produce false positives/negatives or they don’t. It doesn’t matter that the proxy isn’t 1:1 with day-to-day.
I sympathize with job seekers dealing with leet code interviews. But I’m somewhat over the million blog posts that say the same thing. I’d be much more interested in hearing from the other side. Hiring is a nigh impossible task. People rarely share reproducible alternatives. Only hand wavey gut checks. It’s unfortunate this is the best we’ve come up with. Hiring is hard!
luckily, I have experience as a programmer and in a previous career, and have so far managed to mostly avoid it as there are enough companies where I am that I’ve been hired elsewhere. But it does make me wonder if I’ve either missed good opportunities, or am limiting myself for the future.
How often do you find an employee who if you'd just asked them an LC, they would not have gotten the job that they have proven themselves incapable of?
The times I've met a programmer that we shouldn't have hired, it could not have been detected by LC. This has tended to be things like "guy does not want to work on this problem" or "this guy is suggesting things that are obviously bad designs, and doing it with an aggressive style". Rather than "if only we'd asked him to implement Dijkstra we would have found out and not hired him".
LC also doesn't ask what you want to know. I don't need to know whether you can solve the Towers of Hanoi. I need to know that if there's a problem we need to solve, and it is a disguised ToH problem, you will recognize that there's an algo to be found, you will eventually find it's this one, and you will eventually find the solution and code it up in a sensible way that helps the team in the future.
LC problems tend to be too short to decide whether someone actually has the skill that I really value, which I guess is gumption. We have a codebase that's become crusty over time, will you take the initiative to clean it up, or will you just solve the little LCs that present themselves and add that to the spaghetti?
The interview form that's worked for me over the last 20 years is simply to have a long technical discussion, meandering across a bunch of technologies and problems. You can't prepare for it, and you can't waste your time preparing for it. Even if you say you touched a bunch of stuff, when you run out of opinions, I will know the depth of your experience. If you have an opinion, you will also know what the orthodoxy is on that area, and you can explain why you agree or disagree. If you are disinterested, it will be clear.
Now of course this isn't going to satisfy people who want something they can call standardized. Maybe a pair of twins will walk in with the same skillset, and one of them veers down one path and the other down another, so that the conversations have different questions. But I would wager that I'd find the same result.
Does this company value grinding at solved problems, rather than actually solving new and interesting ones? That's a dead end. I'd rather talk about how I spent my time building real stuff in prod. That's generally how I respond to leet code challenges, pointing out the existing libraries and tools that already do it and discussing their tradeoffs. Pretty good way to find out they're looking for an actual engineer or a code monkey.
They then ruined it by still having a leetcode style interview afterwards which I found monumentally stupid, but oh well.
"But today Spolsky has mixed feelings about his guide — and its impacts on hiring in tech. “So this idea that you’re going to have a rigorous interview where you bring people in on the whiteboard and you say, ‘Show me how to copy a string while deleting the letter Q. In C, on the whiteboard.’ That was a big step up, I think, from, you know, ‘What college did you go to and who do you know and where did you work?’” [...]
“It’s a great way to hire 10 developers. It’s a very bad way to get developers in a scarce environment where you’re trying to find the people that might be good.”
A lot of good programmers end up getting rejected — while, even worse, companies end up hiring people who are good at passing tests, but underperform in the real world. “I think that method is definitely state-of-the-art 1995. It was even good for 2005. For 2018, I think you need a better system, and I think it’s probably going to be more like an apprenticeship or an internship, where you bring people on with a much easier filter at the beginning. And you hire them kind of on an experimental basis or on a training basis, and then you have to sort of see what they can do in the first month or two.”
Article: https://thenewstack.io/joel-spolsky-on-stack-overflow-inclus...
HN discussion thereof: https://news.ycombinator.com/item?id=39748546
Neither does anyone else. Everything else we’ve come up with either has worse issues or is extremely expensive to operate.
Maybe they are right. After all, I'm not an expert on the matter of recruitment. But from my experience, I felt far better when the process was not "personal", even if I didn't get accepted in the end.
You understand how this goes completely against the very purpose of the interview which is to evaluate how they think about the problem rather than about the final outcome, right?
I couldn't care less about whether your code compiles or not if you were able to figure out the perfect solution, walk me through it, explain why it is the best, and looked like you had some experience writing code when it came to that part.
The goal of coding interviews is to probe the candidate, have them explain their thought process, and see how they interact with you. Are they able to formulate the problem? Gather specs? Are they able to consider constraints?
The last thing I want is some automated system where you have no idea how the applicant came to their answer, what their thought process was, etc.
If that was the goal, then just bring back brain teasers, or better yet, just use thinly veiled IQ tests.
The solution is simple: refuse to do those interviews. I have, and I wish more engineers would. It's one of my screening questions: do you do whiteboard style quiz/brainteaser interviews? If the answer is affirmative, I politely (and sometimes impolitely) decline.
I've written a book, edited another, contributed to plenty of open source, including Golang, started a few companies, and been around the block. I'm more than happy with a take-home or with going over code I've previously written, but doing leetcode in a "live coding session"? I'm good, thanks.
For FAANG and other huge companies, it's probably a decent heuristic (though I doubt even that), but smaller startups or non-tech companies doing this nonsense is a clear red flag. I mean, there's entire books dedicated to gaming the software engineering interview. The signal-to-noise ratio is probably so terrible, it's essentially just professional hazing at this point.
I am starting a company, and I need smart people; I do not care how good they are at programming language X, or technology T - all the skills my employees will need can be learned on the job.
I want to optimize the time it takes for an arbitrary hire to become independent, to have learned the basics, and to make meaningful contributions. They would write code at most 20% of the time, and the job has many other nuances.
In your opinion, what would a process that you wouldn't refuse look like? Would a learning interview (I present something that you have not seen before, act as an oracle, provide docs, evaluate how quickly you pick up concepts) be so insulting?
So you are looking for somebody in top 5% cognitive ability and top 5% independence which is what pretty much every other employer wants.
My advice is if you can pay competitive FAANG salaries (or compensate lower salaries by prestige/saving humanity/bringing people to Mars), just do what everyone else is doing - Leetcode, behavior interview and architecture interview. Innovate on something else, standard interview process will give you smart motivated folks.
If you can’t pay those salaries, you need to be creative and decide what compromises you are ready to make and tailor interview process to them. No one size fits all process here. You are essentially looking for people who failed in standard process while still posses qualities you need. Expect to spend more time on hiring and have more bad hires.
I was genuinely wondering how OP preferred to be approached vis-a-vis this sort of assessment, since they suggested that they would walk out on conventional approaches. I mentioned cognitive ability and ability to learn as I feel those are harder to extrapolate from one's existing publications/contributions/take-home assessments, compared to in-person discussion(s).
You're being very nebulous and without knowing exactly what you're hiring for, it's hard for me to recommend a process.
We've been going in circles for 20 years.
Gonna <press X to doubt> on this one. I mean I guess anecdotes are cool, but yours goes against basically any editor/publisher due diligence, not to mention the financial incentive of writing a book in the first place (the book actually being good), but alright.
Probably. Most LC interviews are in the early to early-mid career stages and are often at large headcount shops where problems are often solved by throwing man-numbers at a problem. As a result, the shops think: "Why don't we hire more really intelligent people to throw at these problems?" They have lots of postings and then get a lot of applicants. LC then serves them 2 main purposes; 1) a proxy for "intelligent people" that can solve these kind of extremely generalist problems, and 2) a way to cull the herd.
Once you actually need specificity in your hiring, then LC style questions are effectively useless outside of some very unique contexts. That they are so endemic is reflective of how bad almost all companies are at hiring.
whether or not you succeed as an engineer generally falls down to whether or not you know how to code (pretty much anyone is good enough at this for most jobs), can you communicate effectively (covered during the behavioral portions of interviews), and do you work hard.
honestly i think it sucks, but in comparison we're pretty lucky. i think a lot of people in this world would be happy to grind a few hours a day for a couple of months to get paid 250k+ base
I'm 45, focus on Web development, have worked in-house on teams building ecomm carts/solutions for multi-million dollar per ear local companies, in design agencies focusing on custom $100k or templated $5k Wordpress websites, and have freelanced for everything in-between.
During COVID lockdown, I got burnt out at my existing employer, resigned, and took several months of. When I started looking for work again, one potential employer was a Wordpress 'freelance' company that gave me a LC test as a second round interview.
I BOMBED - like a 27%. I've been building sites and web applications for 15+ years and had zero idea what I was even being asked in any of the 3 questions on the 'test'. The company ended the interview process and advised I study Leet Code for 1 month and come back to re-test since my experience was outstanding for what they were looking for.
I did and got an even WORSE score: 13%. I spent way to much time on trying to cram useless (for my daily work) programming techniques to pass a useless interview test when I was told I had the experience they wanted - I've built custom WP solutions/themes/plugins since wordpress first rolled out.
TLDR: With 15+ years experieince in Web development, I still couldn't score higher than a 27% on a LeetCode test and got halted in the interview process for a position I was told I was WELL qualified for.
LeetCode tests for non-overly-technical positions is awful.
We ask candidate to pick any OS project out of few dozen related their skillset. There are predefined feature request/improvement we got prepared for each one. I've been experimentimg with it, and it feels more 'natural'.
They obviously are useless to measure how good a candidate is, but that is not my problem. I didn't pick the song, I just have to dance to it.
> But yet, these interviews quiz me on things that I can easily Google that I may not know off the top of my head. It’s absurd.
I don't work at Google so I'm lucky to have freedom in the way I interview engineers and usually I try to squeeze out the quiz aspect as much as possible.
If a candidate doesn't know the algorithm for a given problem and can't quickly come up with one, I usually proceed to give a detailed explanation for it. In the end the task is reduced to "write between 6 and 10 lines of code that do X in your favorite language" and yet a majority (80-90%) of inbound candidates for software engineering fail at it (for non-inbound sources a picture can be very different of course).
Contrary to a common view, I believe that this approach actually imitates my daily interactions with a developer quite well and the correlation between interview performance and job performance is very strong in my experience.
And interestingly I've seen many people who shine in oral interviews (tell me about your experience) and then fail to produce any code at all, both during the interview and at work. So even if I wanted a good alternative approach to hiring of engineers I haven't seen it so far.
a) The 90% of applicants who literally cannot code. Although I filter out 99.9% of those by screening CVs and a short telephone interview.
b) They can be a point for more discussion.
It's silly to give someone, in an interview setting, an exam question style problem and to make that a key factor in the interview. It's up there with giving someone tasks which could potentially take them an evening just for an interview.
I've tried everything and I've had the best results by talking, digging into the details. Not only do you get a better idea of the person but it's really easy to rat out those who are less capable (especially those who've studied hard for exam questions but fail at everything else).
That's always the second interview I do: "tell me about your favorite project", then asking questions about details, possible alternatives and pros/cons, fundamental limitations, anticipated issues, real production issues, etc etc, going as deep as possible. This works really well and filters out people who do leetcode but don't pay attention to details in their work or have no real experience (if you're looking for one).
However, the couple of times I hired people who nailed this part but failed the coding, they also failed at coding at work. So both interviews are necessary in my opinion.
I also observed starting a process with easier questions still filters out the bad candidates (80%+). Once a candidate 3-4 rounds more open ended questions seem to be much more discriminative anyway.
Furthermore, asking (senior) engineers arbitrary and esoteric CS questions that
A) They may have never seen before
B) They will likely never encounter
Seems like a good way to lose out on competent candidates
If I hire an experienced electrical engineering project manager, I don't ask them to analyze convoluted circuits or random differential equations on the whiteboard.
But I want to share a couple of thoughts.
If these interviews in general, follow a form of template as to what they contain, what to expect, how answers should be presented, then studying it, while time consuming is not that hard.
It can function as a form of "proof of work". That you took the time to prepare yourself for the interview will be points in your favor. Like putting on some nice clothes and brushing your hair. and putting together nice CV.
The second part is to perform under stress. I hate this part of modern interview processes. They want to give you something difficult, then spinkle with some rudeness and abrasive comments.
Will the candidate work under pressure or not?
Coming from the consulting world, perhaps that is more common in that sector than others.
I’m in a mentoring group that includes a lot of people looking for jobs and studying LeetCode. Two themes that come up over and over again:
1. People overestimate the difficulty of practicing LeetCode. Reddit and other sites make it sound like you need to take 3 months off to grind LeetCode full time, but most people can do 1-2 problems per day in their spare time, lunch break, or other small window of time. You don’t need to do rote memorization of every problem on some list found on the internet.
2. Actual LeetCode interviews are rarely as hard as people expect. People think they’re going to get LeetCode Hard problems that require obscure tricks, but the vast majority are Easy and Medium.
Would I recommend it if there weren’t so many leetcode interviews out there? No, I wouldn’t. It’s not a useful skill for actual programming; it won’t make you smarter. It will, however, establish that you have a lifestyle that affords you the kind of free time to devote to it.
So yeah, I’ll happily jump through these hoops. Honestly, I’m the personality type that finds it fun. But it’s a lousy way to assess my abilities as a dev.
> Kuberentes
It is really unlikely, given a leetcode hard level problem to solve within 25-35 minutes and you can google your way out of it unless you are googling for the solution.
Some of the worst interviews I've had I've felt like I was a lab rat, just being evaluated for specific traits/reactions. The worst part is, like you said, every Tom, Dick, and Henry does this, its somehow become some kind of lazy industry standard hiring practice, hence the explosion of these interview aid services. Some people will argue it serves a purpose, but I really don't see how. It's like memorizing an answer sheet and doing well on a test. Is that really the type of problem solving you're looking for? Don't get me wrong, I do think its important to understand foundational concepts and algorithims, but like.. it's also the first thing thats abstracted away for good reason in the real world. Anyways its shit.
The worst part is even with my experience I still feel like shit after these calls though I should know better.
A while ago I posted a Ask HN question about the usage of Pseudo-IQ test which is very common in Swedish interview process. Pseudo-IQ test in the sense that it is almost always just Raven Matrix test + maybe math or personality test. I tend to score pretty well on those tests and it takes maybe 1h tops, but it's annoying and stressful either way, especially knowing what ideological foundation it comes from....
Seems like the answer from the Ask HN point towards that those tests used to be common in US/SV/Software position interviews too, but it then got kinda replaced by Leetcode-style interview.
And sure, having a person staring at you commanding you to only use your brain to solve a toy problem is definitely not how you work. But it in combination of a bit of back-n-fort traditional interviewing is definitely more informative to the employee (and fair) than some pseudo-IQ test.
I just hate when Leetcode is used as *the first screening* it's such an asshole move that show high level of disrespect towards the applicants time. Maybe you can get away with as FAANG, but small companies that do this to me just signal extreme arrogant (or delusional/dysfunctional) HR or C-suite.
The best coding interview I've had is just the format "You've received a PR from a junior dev. The code compiles without error and pass the unit test. Would you pass/reject this PR and motivate why" and it often requires a better understanding of the language (such as difference between modern C++ and C++12)
be the change and so on
I mean, is it a great way for companies to hire? No, not really. Is it how many companies hire? Yes. Do I occasionally learn a few things while doing this sorta prep? Occasionally. All-in-all, the expected value from a bit of prep seems worth it.
them: implement reversing a linked list
me: your company spends a lot of time reversing linked lists?
hr: you have do the same tests as the accountants
me: ok, hit me
.....scribble scribble
hr: you have simultaneously managed to get the lowest ever score on the arithmetic tests and 100% on the visual/spacial IQ tests, which no-one has ever done.
says something about me i suppose! and they hired me.
> I don’t really have a solution to this problem, I just know it’s a problem.
Yeah, exactly. You don't have a better answer and nobody else does either.
Usually, the computing part isn't the part that prevents a business from scaling more (servers are cheap).
I had one job working on a compiler that fairly regularly had leetcode-style algorithms problems, even novel ones.
But yeah, most don't.