251 points · by danielgh7 · 5y ago · 232 comments
And we tuned it from there to into its own sort of mini-SAT with an accompanying preparatory industry and culture.
I find it as a reminder of my fungibility as an engineer: I get paid absurd sums because of supply and demand, not because of my skills; anybody who can game the leetcode exam (and the architectural diagram quiz and the personality quiz) can walk in and take the same 300k income I have. If enough people do so, wages could be pushed down by employers.
Thankfully for my mortgage, that hasn't happened yet and probably won't happen soon.
Why am I worried? Because if you're a competent programmer you can spend 3-months to a year studying for these interviews and make $200k+ in TC. You don't need a degree or even much work experience to achieve this.
You don't have to come from an ivy league school or have powerful connections, you simply need to understand a few common leetcode patterns and system design.
If you can understand for loops, variable reassignment, objects & arrays, and some other unique operators like modulo or booleans you can likely answer 70% of LC type questions. That's an extremely low bar, and all it takes is dedicated practice.
Even if you don't want to leetcode, there are still plenty of well paying jobs that pay more than the average household income whose barrier to entry is even lower.
What other job or industry honestly has this option? I honestly feel like software develop is the truly last "middle class" industry (if salaries kept pace in other jobs for the last 40 years).
The low barrier to entry is one the greatest things about programming. I don't have a CS degree, but for a while I spent some time actively studying data structures and algorithms on my own (and solving hundreds of programming problems at "online judge"-type sites like SPOJ; it's fun!). I don't feel in any way "inferior" to people with a degree.
I did the same thing, but I do feel inferior to degreed folks. Not skill-wise; I know people are all over the board with their skill level. It comes down to this statement: "I have two candidates who are equal in every way except candidate A never finished college. Candidate B gets hired!"
Going this route you have to be better than everyone else with a degree: If you're not, the person with the degree will win, every time. I did this with personal projects/passion/odd jobs, and now with a decade of work experience as an engineer.
Sometimes I want to finish my degree (I got an associates, so 1/2 way there!) but the ROI doesn't make sense with school being so expensive. My big fear is that I'll never get hired after this job because there are lots of qualified candidates who went to school, and I just don't stack up.
EDIT: It's also affected my willingness to change jobs, confidence in myself, and as a result my salary. I make $120K/yr in a high COLA. If you're reading this as a youngster: GO TO COLLEGE AND FINISH IT!
While I don't feel inferior to them either, I think people with degrees have two major advantages.
1. They are pre-selected.
The ability and means to get into good schools and finish courses are powerful signals. It may or may not translate into competence but it certainly means something. People generally have positive perceptions.
2. They network.
Students are surrounded by like-minded peers, professors. Knowing these people personally can and often does make all the difference in the world. Sometimes people start companies together. Sometimes people recommend others they know personally and they get a job. Sometimes companies will recruit only from top schools.
I got the impression that the lack of formal education (in CS) left me with a gap in background information which I only partly closed over the years.
I bet a lot of folks here won't want to hear this, but we really are vastly overpaid for what we do.
Everywhere I've worked, and I mean everywhere, there's a lot of frankly bad practices that are bad for users and create bullshit work for everyone involved. Just because you've installed a bunch of linters, have 80%+ coverage, and use Code Climate does not mean that your code isn't fundamentally flawed and a liability.
I do think this stems largely from there being effectively no credentials required to be a software engineer. Whether or not your code is "good" mostly depends on your title, seniority, and social clout. If the software breaks, you just keep fixing it and you look like a hero because you're constantly opening and closing Jira tickets. Junior developers learn to code without bothering to consider the philosophy, history, and discipline of code.
It's all just to "get shit done", and there's consequences to this. Things are written to not be accessible, and if they are written poorly then it can be difficult to implement accessibility, thus many are cut out of participation. People's account data and credentials get exposed. Countless millions of $ are spent deciphering code written by people who believe their shit doesn't stink (the code documents itself bruh), and countless hours of lifetime are depleted. People are outright ripped off when companies release software, namely games, that are written atrociously.
Do we really need this many engineers to write GUIs around databases? I seriously question this. Should we really get paid this much for a job where we can be inefficient with almost no consequence?
I argue that we should have standardized accreditation.
How we would implement it, I don't really know. The obvious counterargument is how bass-ackwards many college computer science and programming courses are.
Yeah, coz this view is driven largely by the just world fallacy. Either that or the perplexing idea that quality of life is driven by iphone ownership and cheap clothes rather than availability of medical care, education and a roof over your head.
The fact that education, home ownership and medical care are still reasonably priced compared to our incomes but almost nobody else's while wealth inequality has taken off like a rocket suggests that it is most other professions that are underpaid - not us who are overpaid.
The fact that our incomes kept up with productivity while median incomes decoupled in 1981 suggests likewise.
I'm shopping for houses not quite as good as what my teacher parents were 40 years ago and I'm in the top 2% of incomes while they were a bit above average.
I’ve been in those shops that “consider the philosophy, history and discipline of code”. Your counterparts in those organizations? They’re ranting against the waste they see going on.
The reality is more nuanced. If you were handed a multi-thousand developer organization, business goals, and a fixed budget by the BoD via the CEO and CIO, your theories of “how it should be” won’t make it past the first fiscal quarter.
This is the next level awareness of what Brooks meant by “no silver bullet”. He wasn’t just talking about coding tooling, he also meant these kinds of diatribes we all evolve through in our career.
We aren’t paid to only cut code. We’re paid to help deliver an outcome. Outcomes at the business level are not evaluated by the same criteria you personally use, despite what your immediate business liaisons tell you; you need the C-to-upper-management perspective to start to understand the real decision factors. Before you make assumptions about companies not knowing at industry aggregates level how to pay developers, first go manage a multi-hundred to multi-thousand person engineering organization with balance sheet and P/L LOB insight into their real impact as crunched by the finance wonks. Then you’d know the real cost benefit you currently assume the finance people in aggregate don’t know.
We absolutely can and must do better as an industry, and I see us every month making incremental progress (this is much more difficult to see in the first half of your career because you struggle to get a feel for what is and isn’t progress that business cares about). That doesn’t preclude us from obtaining useful outcomes given prevailing conditions (including pay as a very small factor).
I highly disagree. I think everyone else is underpaid.
Will not explain further because i don't think discussions are allowed to get more political than that here.
At least at the tech co where I work in ML, every single one of my peers has a PhD and while I don't, I went to Harvard.
For ML? Well, I do know people who have never taken a formal course in anything above calculus who absolutely do apply these techniques properly and are well versed in how they work. But to understand how k-means clustering works, or how to construct a gradient vector... yeah, this requires multivariable calculus and non-linear optimization across systems of equations. And while you don't need to know how the underlying math works to use kmeans or neural nets, the mathematics is a lot closer to your work.
Under these circumstances, I can see why a lot of companies might just start looking for STEM degrees from known programs in a way they don't really with SEs.
I'm not allowed to discuss my specific google interview questions, but I'd say they're similar to some of the harder questions in "cracking the coding interview". On the line of "find all matching subtrees in a binary tree". Remember, you have to do this in 45 minutes, and the impression I got from my feedback is that you need to make substantial coding progress (again, in 45 min at a whiteboard).
That's hardly impossible, but I think it's notably tougher than "loops, variable reassignment, objects & arrays, and some other unique operators like modulo or booleans " There's no way I'd suggest someone go into a google SWE interview with only that prep. I'd say you need to be very sharp on recursion, tree traversal, sorting, set permutations, and a number of other algorithms - and I disagree that you can memorize solutions. You should have them down cold, but you won't be asked to regurgitate them - instead, you will need to be able to think on your feet to figure how these algorithms can be adapted to a variant of a problem you've seen but not quite in the form they're asking about.
But I will say reviewing the graph algorithms hasn't been a complete waste of time. It's good to at least know what they are, what they can do, and what their tradeoffs are. I realize I was a bit fuzzy on these.
It would be different if I were applying at FAANG style companies I'm sure.
Google's interview exams are graded in secret, and you have to sign a non-disclosure to take the exam. I suppose scores for my interview exam are stored in some database somewhere internally at google, along with photographs of the whiteboard at the end of my various 45 minute sessions and notes, but I'm not allowed to know what they are (they're secret).
I'm ok with google doing these interview exams (and fully embrace that it isn't up to me). But I do think that a certain bill of rights between examinee and examiner slowly evolved over the years - one of which is that the people who took the test should get some feedback on how or why they failed or passed, along with a score.
Instead, due in part to fear of lawsuits, you get very vague feedback from a recruiter. Mine was: analyzed the problem well, but didn't make sufficient progress on the coding section in the time allotted. I have no idea if this is true, someone being nice, how much more progress I would have needed to make...
I no longer participate in exams under these conditions, but I'm just one person with zero clout, and with $300k on the line, no, I'm not even slightly surprised that many people will do so.
I know several engineers who are several times smarter than me, who could build basically any application asked of them, who always have trouble finding work because they don't do well with these whiteboard problems. Of course they could study and learn to get good at these problems, but at that point, what exactly are we testing?
I also think these problems are kind of bad for the other direction. When I interviewed at Apple, they gave me typical big-O notation whiteboard problems, I did well enough on them, got an offer, and accepted the job. I just assumed that if they're asking me hard CS theory problems, then there will be a lot of CS theory work at my position there. I was completely wrong about that; the job ended up being extremely bureaucratic and I spent substantially more time replying to emails and attending meetings than I ever did coding, let alone solving interesting problems [1]. I managed to hang on for about two years, but after a certain point I felt that I had had enough and left, and I always felt that I wouldn't have wasted my time if the interview process had more-accurately reflected the actual work I ended up doing.
[1] I think I had a particularly bad experience at Apple, I think other people working there have enjoyed it substantially more than I did. I think it's highly dependent on the team you're on.
However, my concern with whiteboard problems is that there are plenty of people who are really good, but get terrified in a whiteboard situation. And some of the absolute smartest people aren't able to think quickly. That is to say, for most questions, everyone else will get the answer first, but for the hardest questions, nobody else will get the answer at all.
There's limited offer because it's a rare skill, not sure what you mean by "not because of my skills" since your skills are rare hence valuable to the market.
> Thankfully for my mortgage, that hasn't happened yet and probably won't happen soon.
The keyword is "hopefully". This already happened to physicists with nuclear power if I recall my history lectures.
Leetcode doesn't make companies money. They can't tie it to their revenue. Being paid because of my skills means I can walk into an interview, say "I'm a domain expert in X and my last client saved $Y thanks to my expertise when I optimized their Z".
The leetcode analogue is "I'm a fungible engineer, and since your company basically prints money as long as you have enough fungible engineers to keep the ship running, you should hire me"
And I verify that... how?
LC is basically a proxy for being able to pick up random shit quickly, learn how it works, and demonstrate/use that knowledge. The particular knowledge isn't that important. It probably won't be that important at the big tech co - what's more important is how fast you can pick up their novel processes and stack and start getting effective work done.
Billions of people have the skills to say that. Being able to say something doesn't mean that you have the skills to do it. And being able to talk about something for a few minutes after that first sentence also doesn't necessarily mean that you have the skills to do it.
If you had an airtight system for assigning credit for performance at companies, and then being able to show evidence of what you did to other companies, then what you are talking about would work. But right now nobody even knows how to properly assess the value of employees they work directly with, being able to assess the value of employees you just heard a few sentences from would be magic.
Seriously. Interview Kickstart recently quoted $8500 for two months to prep for the FAANG exams. The entire session felt like a high-pressure sales pitch from a timeshare salesperson. Here we are SF/SV 2021!
Initiative & leadership are nice, too, if I think I might need a manager in the wings.
Ambition is ok? It’s hard to temper highly ambitious people.
Coding is a mechanical skill you can assess in 5 minutes at the whiteboard during your interview while you look for the important skills.
If this was true, we wouldn't have leetcode style interviews.
> I don’t really understand what a “leet code” interview is?
To me it's the puzzle style questions; or questions you have no way of answering without knowing or being exposed to a certain trick.
You know that already happened? Like 15 years ago was what it looked like before every started practicing, today most people are practicing. If they fail to take your job today then it is because they failed to pass the interviews even with extensive practice.
If the tides shift and big tech starts tightening their belt, leetcode practitioners will start competing 100 engineers for 10 positions at big tech, and that's when salaries get pushed down.
Most books and blogs on professional growth say to have some sort of talent or skill that makes an organization need you. That way, you aren't fungible and have leverage. Right now my "skill" that I demonstrate is leetcode and the only leverage I have is that big tech needs more engineers and have to bid against each other for my fungible work. The moment tides shift, myself and every other leetcode practitioner are basically fucked.
When will this happen? Ask a fortune teller.
it's already like this just for positions at random software companies paying $80-120k. the percentage of applicants to google that end up getting offers is estimated to be in the low single digits (if not below 1%). and frankly, I suspect big tech companies already hire more engineers than they "need", just to deny them to rising competition.
I don't think you're wrong about the moment that the tides shift, but it seems we are still quite far from that.
Agreed - interview prep is a cottage industry.
It should be worth reflecting and discussing why that is. If tech interviews are not horribly flawed, why is there a small industry of paid prep resources for passing those interviews?
For instance: SAT prep schools, the evidence on private college counselors, etc. - there is little to no evidence these actually have a substantial impact, but people pay for it anyways.
In the adult world, try managed funds. Again, little-to-no evidence that you have any way of knowing ahead of time which of these will beat the market and which will underperform, but people still pay massive fees to get included in an "exclusive" investment fund.
This is a human phenomena, it doesn't mean the selection criteria isn't working - just like the exist of managed funds doesn't mean the stock market isn't working.
The world is full of lots of people, and some proportion of those people will be marks.
Is that true?
https://slate.com/technology/2019/04/sat-prep-courses-do-the...
> Once scholars control for all these factors as best they can, they find that coaching has a positive but small effect: Perhaps 10 or 20 points in total on the SAT, mostly on the math section, according to careful work by Derek Briggs of the University of Colorado Boulder and Ben Domingue of Stanford University.
> A 2010 study led by Ohio State’s Claudia Buchmann and based on the National Education Longitudinal Study found that the use of books, videos, and computer software offers no boost whatsoever, while a private test prep course adds 30 points to your score on average, and the use of a private tutor adds 37.
Also, managed funds are not analogous to interview/test preparation in any way.
This is how everything works. You can get paid a lot for selling a stock that has appreciated (demand for it went up) without having any skills in investing, just luck. You can also be an incredibly talented musician or artist and get no money for it because there's no demand for classical musicians these days (I've seen this happen to every single one of my classical musician friends. They all have to go into teaching or change careers).
To tie it back into the subject of interviewing: If you are interviewing for a PostgreSQL expert, then it will be both harder to find someone who fits the bill and that person will have more leverage to negotiate a better salary. That person knows how few engineers (relative to the total pool) have worked on the PostgreSQL codebase and can explain the internal workings and implementation details and relate it to your projects.
In a hypothetical future where there's 100 engineers for every 10 commodity engineer positions, that PostgreSQL expert position will still be hard to fill.
But that was always the case. Lets say you can save a company millions of dollars by being competent at SQL. Guess what? Any of the millions of people who are competent at SQL could also have saved that company millions of dollars. Why not just hire anyone of those? You are a part of the sea of programmers with similar skills as yourself, that is what you are selling and what companies are buying. So to set yourself apart from the sea of others you show you are smart enough or hard working enough to pass coding interviews, since most of your peers who also know SQL can't pass those.
If you wanna get fancy you can throw in a $59/month Coursera Plus sub for those big-name-university math and CS courses. There are some good ones that I think would help people who focus exclusively on LC improve faster and/or get a deeper understanding
Ok, so we are now talking about ~$900 over the course of a year. Even throwing in some a la carte courses from edX, like the Programming Languages sequence from Washington that OSSU recommends, you can now give yourself a thorough and marketable CS education in a couple years of hard work for under $3k. That doesn't sound like a predatory industry....that sounds like excellent progress towards equitable opportunity
P.S. And you can even be a cheapskate and just use the Sedgewick booksites and do the UCSD and Stanford discrete math and algos courses on Coursera and get your interview prep done for a grand total of like $200
P.P.S. The reason you don't need algos in your day to day is because you are not good enough at algos to get a funner, better paying, more impactful job where you do
there are a comically high number of jobs at "prestigious" companies where this is absolutely not true
I ran into a YT channel run by a guy currently employed by FAANG as a hiring manager and selling courses for how to pass his own hiring interviews. With that, plus bootcamps, I think "preparatory industry" is a fair term.
[citation needed]
I don't get it. Is it because I'm not pursuing FAANG? Is it because I'm in Austin instead of SF?
brain surgeon doesn't take USMLE at every job interview.
Can you give a single profession that pays $200k+, isn't a manger job, doesn't have easily tracked metrics like doctor/lawyer, and doesn't have tests like the algorithm interview?
Entry is one part of the puzzle. The actual skill bit hopefully comes into play after you get in, at which point your skill(s) improve your chances to survive / thrive at these companies.
The best CS class I ever took made all previous exams available to us. They also assured us that our exams would only include questions that have appeared before.
The only way to game that was to learn everything. Leetcode exams, especially at places like Google, are effectively the same thing.
This is good because it levels the playing field. Anyone motivated enough to learn the material can break into the career.
It's sometimes possible to game the system by doing hundreds of LC, but it's still hard to beat people for whom it just clicks.
1. Significant amounts of people cheated during college, and if asked probably wouldn't even identify their behavior as cheating.
2. Significant amounts of competent people don't even have a degree.
3. Many people with degrees are incapable of actually programming even basic algorithms.
4. There is an incredibly high demand for this job because of its pay, leading many people to pursue this job in the market that have no actual interest or aptitude for the work.
5. Significant amounts of people lie on their resume, or work for body shops that lie on their behalf with or without their knowledge.
These truths make it so that something like a degree is not a useful filter and create a situation where every job openings has thousands of applicants, the majority of which are not even remotely qualified. How do you filter out applicants rapidly to narrow down the number of people that your engineers take time away from producing value for the company to interview?
Personally, like every other engineer, I hate LC-style interviews, but at the same time, the issues they are intended to solve seem intractable any other way. Fundamentally the LC-interview is intended to be an on-the-spot test of your abilities because nothing on your resume or in your past credentials is trustworthy.
> 1. Significant amounts of people cheated during college, and if asked probably wouldn't even identify their behavior as cheating.
Unless you have some real data backing this up, you can't claim this is true.
> 2. Significant amounts of competent people don't even have a degree.
Don't disagree here, though the question of whether or not leetcode proves competency for day-to-day software engineering (of which changes given the type of job you are interviewing for) is still debatable.
> 3. Many people with degrees are incapable of actually programming even basic algorithms.
I have seen this phenomenon and it is a valid concern. However, you can still test for basic algorithms without resorting to leetcode hard questions on phone screens, which happens often (i am speaking from experience).
> 4. There is an incredibly high demand for this job because of its pay, leading many people to pursue this job in the market that have no actual interest or aptitude for the work.
Agreed, sort of. Its supply and demand - where the supply is artificially kept low at the interview stage be eliminating too many candidates who can't solve leetcode hards. Many of those candidates could be adequate, especially with minimal training.
A lot of your concerns are 1st order, surface level, but the solutions to the problem of tech interviews are a couple layers deeper in the stack. Leetcode is a monkey patch, an adequate one but it has its own set of problems that are ignored. That's why we keep seeing discussions about leetcode on HN.
> Unless you have some real data backing this up, you can't claim this is true.
Universities has no reason to crack down on cheating, students who cheat pays just as much money as those who don't. Rather it is better the more students cheat since it means they are less likely to drop out and stop paying. Only cost is reputation, but I have never seen a university get called out or cancelled over not catching enough cheaters, so even the reputation cost is tiny.
I have personally seen a lot of cheaters, I have heard people talk about cheaters etc. Cheating might not be common at every single university, but it is definitely common if you look at higher education as a whole. And of course none of those will ever try to track that data since it doesn't benefit them anyway. As long as they don't track it they have plausible deniability.
>Unless you have some real data backing this up, you can't claim this is true.
As a nitpick, you should be able to claim whatever you want. But besides that... from my experience in college (and as a TA for an intro class) I tend to agree with the sentiment that a significant amount of people cheat. It doesn't mean MOST people cheat, it's just "significant". I remember one week where 30 of our students (10-20% of the class) pasted an answer from Stack Overflow word-for-word. One student went so far as to put a sheet of looseleaf over their friend's paper, and trace every symbol by hand.
What many people call a “LC hard” is really a fairly trivial DFS or DP problem which with proper preparation shouldn’t be much of a problem, and is more likely an east or medium.
You'll never get real data on this because the people doing it and not getting caught won't admit to it. You just had to listen carefully to what your friends-of-friends were talking about at parties to know what they were up to.
* Pick any undergrad CS program
* Pick any course at that program
* Do a Google search for “<coursenumber> project site:GitHub.com”
I never cheated in school and what it got me was a middling GPA, less time to drink and network, and job prospects that pay roughly half of what I could be making.
If you’re in school, learn from my mistakes: you’re there to get a degree and a high gpa, not to learn. You should absolutely cheat as much as possible, just don’t get caught.
It felt like some sort of bougie "fashion" (or hazing ritual like everyone likes to call it) that candidates needed to follow in order to land the job. Even for system design I felt the same trend was there.
It’s great for me that I can almost always pass, but I do feel bad for people who never had a chance to just learn the magic words.
It can still be good for practice though, it does seem to cover all bases.
I'm really not a big fan of whiteboard tests, but I have yet to find an initial filtering method that is as quick and cheap as 30mn with coderpad or whatever.
I don't go further than that (no complexity questions, no silly google-style "let's pretend you haven't learnt this by heart" knapsack problems). And I don't care about syntax. It's just a way to know who is a developer and who is a stackoverflow cut-and-paster
What if the initial filter is physical proximity to the company headquarters? What if the companies look for engineers first in their surrounding areas, and provide opportunities for those even without the skills initially set on the job opportunity? My hunch is that, if a person is dedicated, he/she will work hard and acquire the necessary tasks required for the job. The surrounding communities will benefit from the gains by the business, and leetcode-like tests would be unnecessary for the majority of job postings.
Curious to hear what others think about this "local-first" approach.
People tend to leave once they’re trained - it’s pretty natural, given they’re smart, motivated engineers and the company just doesn’t need to solve very interesting tech problems.
The company does it for effectively altruistic reasons - they want to help bring tech talking to their declining city.
Like I fail to see the motivation for doing this outside of base nativism/tribalism.
https://docs.google.com/spreadsheets/d/1gy9cmPwNhZvola7kqnfY... for the lazy
I suggest you sit in on some of these interviews if you get the chance, you will very quickly see what an absolute train wreck they are when you get someone with the right paper qualifications who just doesn't know how to code at all.
I am sure they can be, but there are many accounts of talented people who initially bombed these things in a big embarrassing way, NOT because they lack ability, but because they never practiced for the test and didn't know what to expect (yes it happens).
This can happen to folks who learned on the job until they outgrew their job and decided to leave. They suddenly find themselves doing an "obstacle course" technical interview gauntlet that focuses on things that they just haven't had to think about for a long time (or ever). I believe talented enough folks can get through it if they can focus and study for a while (and accept the humiliation of failing big at first). It's not an infinity of subject matter, nor is it rocket science. I think if someone loves the work enough they can get themselves through it.
but, i disagree with the solution you suggest. the only solution is to refuse and instead of wasting 3 months training with no guarantees, build a product instead and sell it.
also, no other white collar job has these sorts of ridiculous demands. and no, engineering does not pay disproportionately well.
finally, most of these interviews test if you solve a very specific programming problem in under a minute. the only way to succeed is by having already solved that particular problem before. so the interviews don’t test if you are a good computer scientist. they test how far you are willing to go to get the job.
Western European grads are no better or worse than elsewhere. Tech jobs do pay disproportionately well (not as much as the US but still well), and I assure you other white-collar fields such as law, finance and medicine have plenty of ridiculous demands and barriers to entry - often much worse than the ones we see in tech.
Honestly if you are as good as you say you are you should be happy to just walk into any tech company you like, spend a couple hours showing off, and be set for life.
You’re supposed to be solving it as you go, most of the time while interacting with your interviewer. Certainly not “in under a minute” unless your concept of “leetcode interview” is some kind of rapid-fire “I tell you the problem you describe a sketch of the solution as quickly as possible”.
I will also echo the other commenter’s opinion regarding “CS in Western Europe”. Not only do you have people graduating who can’t build working software, you also have a wide range of skill levels such that some companies want to hire from the top of the distribution and not just “any CS grad who can build software”.
The problem is when some dogshit startup that got funding 2 weeks ago copies Google's process. That I don't know how we can fix.
If you refused to answer technical questions during an interview because you believed your degree should be enough, you would not get a job from me, period. I don't know if that's true universally, but I expect it to be nearly so.
in our program we had to work in team on projects besides doing our own. maybe you went to a shitty program.
But more importantly, if you think a group project is anything at all reflective of daily software development, you’re exactly the candidate I’m trying to put under a microscope.
Honestly, your downright terrible attitude would disqualify you well before any technical questions.
also, you can’t bribe anyone at universities where i’m from.
And what if we need practical programming experience, not just algorithmic CS stuff? Can we ask you questions about that?
It's possible to be a good computer scientist without being a good programmer, and vice versa.
[1] https://quoteinvestigator.com/2021/04/02/computer-science/
I enjoy LC, I'm good at it, and I find most of the people complaining about it to be the same sort of people as parents who would complain about how their kid "was very smart, but just not a good test-taker" if only those elite colleges would just take notice.
Your comparison is actually perfect - elite colleges pass on bright students all the time and often just filter for those willing to play the game.
Based on my experience, this is a solid proportion of nerdy men (I say as one of them). When I was studying physics, all sorts of people would want to talk about their interest in physics and quantum mechanics with me but they "were only good with the concepts, not the math." Any brief conversation would reveal they didn't have the damnedest idea what was going on.
My suspicion is that these are the people driving the anti-leetcode discourse.
Top unis absolutely pass on bright students all the time, you are right.
I was new to this, but had looked up two coding quizes. The first one was really simple, I found it a bit embarrassing during the first few interviews. Now that was the interview, with this guy, when I decided that I'll never state that I'll give them two coding challenges and that the first one is really simple. Because the dude wasn't able to solve it, at all. And when I say simple, I mean simple. My co-founder, who sat over all those interviews and who really had nothing to do with programming, did already understand the problem and solution after a few rounds of interviews.
So while I do think that getting CS (or similar) degree does indeed give you a lot it's by no means a proof that someone can actually write code.
It sucks sometimes, but we have to deal with the world as it actually is, not how we wish it to be.
When it comes down to it, the universe doesn’t give a shit about our opinions :)
I’m not saying mindlessly accept a shitty deal. I’m saying that wishful thinking such as “it shouldn’t be this way and I’m going to pretend it isn’t” is not very helpful.
If you can turn such thinking into a useful action that leads toward the outcome you want or a general improvement, then that is great. But that isn’t always easy to do.
Sometimes you have to deal with bullshit because the result is worth it. Or choose another path entirely, realizing the trade off you are making.
You take a mock interview, white boarding and all. I'm actually very very bad at these interviews. That said, I've also been on the other side of the table.
One candidate didn't actually know how to program. I had to argue with almost everyone else in the company to not hire this person, and on top of that I got reprimanded for being condescending.
Don't put a programming language on your resume if you've never actually used it.
I do wish American employment law was a bit more flexible here, I'd prefer to give someone a small paid assignment and if they're able to complete that great. Right now you need to decide if you're going to hire someone within about 30 minutes of knowing them.
1. When you apply to STEM graduate program, you also need to take GRE. It's clearly that you don't need those GRE absurd words in your study. But I do see some values in people who dedicate their time to learn these GRE materials. Company might see it the same way, they want to hire grinder.
2. Some companies like Intuit, Airbnb try different method, for example, giving candidate 90 minutes to solve one particular engineering problem related to real world. After a while, people share the problem sets and everyone who have prepared can crush them easily.
3. Some of my ex-coworkers who are competent and have good swe skills but they never bother with LC. as a result they stick with underpaid jobs for years.
I strongly believe in the near future more companies will adapt different interview structure to evaluate candidates. The current structure heavily reward for grinders.
My framework for the coding part of the interview is following:
* Does the candidate tackle the problem analytically? Being able to think analytically is critical to scaling from solving small problems to solving large problems.
* Can the candidate predict what his code is going to do before he executes it? Repetitively executing code to see if it works may seem innocuous, but really is a huge defect in candidate's process which makes it really difficult or impossible for them to write anything non trivial to be reliable.
* Can the candidate recognize and make use of an advice? Surprisingly, a lot of people can't recognize when they are given advice even when I directly give them solution to their problem. It is really disheartening to have a candidate dismiss your advice even when repeated multiple times. I frequently give advice to unstuck the candidate because seeing him/her work on the problem is more important to me than seeing if they can solve any particular part of the problem.
* Can the candidate recognize choices/tradeoffs that impact performance and/or simplicity of the solution?
* Can I have productive discussion with the candidate about designing his solution? Can the candidate converse in a clear and precise language?
* Is he/she caring that the resulting code is readable?
* Can they diagnose faults in their code effectively? Assuming they executed their solution and it is not doing what it was expected to do, I like to see the candidate follow some kind of analytical process to find out what is causing the problem. I even design the task specifically so that it is very likely they are going to make one particular mistake to give me that opportunity.
**
What I specifically ignore in the coding task:
* Whether the candidate knows the standard library. I don't care. During normal work they can look it up on google. On the interview I tell them that if they can describe the function I can tell them the name and how to use it.
* Whether the candidate can have flashes of insight. I don't get so many candidates to waste them on that kind high false negative signal. I have identified parts of the task that require a flash of insight. I give the candidate a minute or two when they reach it and if I don't see progress I give them a progressively less subtle nudges.
* Whether the candidate can do TDD/DDD/etc. It all depends on their experience. If they worked for non-TDD or non-DDD shop for a long time it is going to take some time to adjust.
* Whether the candidate can solve a very complex problem. The interview is already stressful enough experience for the candidate. I can learn what I need on a simple problem and I care much more to see the candidate's process rather than results. The problem is just hard enough to be out of grasp of most people at the very beginning and require some actual thinking. Some people get it instantly and then I am disappointed a little bit because I can't see them working on it.
Again, I don't necessarily disagree with that, but I think it's always useful to consider how much of my interview criteria can be reduced to "do I vibe with the candidate" and make sure there's more to my interview than just that (there IS a place for it though. The world isn't an objective metric)
What I try to do is I try to learn specific things about the candidate not because they can be measured easily or objectively but rather because I think they are important.
I am not "vibing" with the candidate (although this is definitely a plus!) I have a checklist of things and I try to make sure, by the end of the interview, that I can run through my checklist and have an answer for each point on it.
> Can the candidate recognize and make use of an advice?
I must admit that following those two criteria helped me make the most effective hires.
I used to ask a question that was mildly confusing, but only to the kind of people I was trying to screen out. The people who I was trying to hire would usually get the question right away.
Basically, in one of my questions I had developers use a lesser-known threading API in C#. The people I hired either got the answer right away, or could quickly adapt with my advice and answer the question.
Another interesting anecdote: I used to ask candidates to discuss tradeoffs of the XML APIs built into .Net. The point was to discuss tradeoffs and to demonstrate more than superficial knowledge of serialization. (Most .Net developers have some exposure to its XML APIs at some point.) One candidate quickly hopped into a JSON is better than XML tirade. I ended the interview quickly.
Did you poke them for more? Did you ask how JSON compares to XML? If they only answers "Well, I've never used XML, but I was trained on JSON and won't ever use XML, I don't know any of the downsides of XML", then you were correct to pass on them. But if they responded "Because of reasons X, Y, and Z, JSON is better than XML, and all XML interfaces are equivalent in this way, so I can't really answer your question because while I know enough about XML to know that it's bad, I can't tell you exactly the difference between different interfaces, as I've avoided them." That would be an answer I would accept.
> got the answer right away
This is the major critique of asking these interview questions. There's a small subset of them, so candidates train on exactly them, and only know how to do these, and when you hire them they won't be able to actually code anything. Using ML terms, they're 'overfit'. Getting it right away is actually a bad thing, but then you get candidates who act like they are going through the process just to look like they are learning on the spot... it's a tough problem.
The candidate was incapable of doing so.
For the threading question, the reason why I chose an unusual API was for your exact reason: You'll never see it on a list of interview study questions.
I'm going to disagree here. Testing your code in small chunks can not only catch small errors before they propagate into something larger, but also give you insight into whether you are going down the wrong path.
We are not talking using external dependencies or frameworks. I am talking simple code that you just wrote in entirety, maybe couple of loops and conditionals.
If you can't predict what that small piece of code does, exactly, you are thoroughly unable to write reliable code, by definition.
Reliable code == code that does exactly what you intend it to do, nothing less, nothing more.
If you can't predict what your code does you are writing buggy code. Experimentation can uncover some of the bugs, but if you start with buggy code the experimentation will never remove all bugs -- only the ones that are easy to detect.
In general, I prefer the approach of writing out the entire solution at one go, and trusting that bugs will be easy to fix at the end if the code is clean enough to understand what is happening at every step. This is in part because there usually isn't enough time in interviews for running tests at every crux moment. However, I think our current virtual environment may make it easier to test for (and to utilize) these types of programming best practices, since instead of writing code on the whiteboard, candidates and companies can use one of the interview interfaces that allows running code as you write it.
You can sit there and plan all you want until you think you understand it, but you never actually know until you run the code. Being a good programmer is all about simplifying complexity. Testing your code as you go along to verify your assumptions is one more way to do this.
And if they don't understand it, they're going to B*&^% and Moan about having to fix the bugs once they come back.
In general I’m deeply skeptical of interviewers coming to the table with their framework full of assumptions for how to evaluate the interviewee when in fact they have a solid chance of being the less smart person in that room and can’t get a readout on the smarter person.
However, it's illegal for companies to require IQ tests to screen employee hiring, and these sorts of interviews seem like a pretty clear stand-in for an IQ test. It's doesn't really measure your ability to be a programmer, but act as a good-enough replacement for an IQ test: The problems are hard and complex, and require that someone does actually spend the time to learn the problems.
For example: Binary search Tree traversals Graph searches Sort algorithms Interesting Trees(Trie, RedBlack, etc) Etc many other common data structures or algorithms
If you memorize the implementation of those. You only need to make sure you understood the problem and check for edge cases.
What I have seen is that a lot of people struggle in the interview because they lose a lot of time trying to implement the algorithms but sometimes know how to get there
I often worry that people who say this are somewhat missing the point of what interviewing is about, and thus lower both their own chances of getting more & better offers, and worse, if someone else is influenced by their writing, their odds go down too.
I say this as a hiring manager and someone responsible for company-wide engineering recruitment for a long time, not at a FAANG but a company of that caliber who competed w. FAANGs for talent. From that perspective, whiteboard programing provide a meaningful signal (though not the only signal) towards a hiring decision.
When I am hiring someone, I care about many things: how do they understand and solve problems, how do they prioritize and trade-off solutions, how do they collaborate and communicate, how they react when they are "stumped", how they react to coaching/hints/feedback/etc. And yes, whether they can code well, and how they deal with pressure.
So when I used to go through one of these problems with a candidate, I would form a picture of how they'd interact with their product manager (from the way they asked questions and clarified their understanding of their problem), how they'd interact with their technical team (in the way they explain their thinking and evolve their solution in response to feedback) to how they'd be with me/their manager (from the way they took feedback and reacted to being coached/helped) to how they would be in an incident/outage (based on whether they were able to make progress despite the time pressure of the interview) and ultimately what their code looked like in my repo (from... the way their code looked like.)
Yes obviously there are factors that make people perform differently in an interview than at the job and as an experienced interviewer you try to discern that, but the bigger point is if you are ranting against whiteboard coding interviews, but you don't understand what I just wrote, then you are basically arguing from a point of view of ignorance. If you don't understand what the process is meant to do, then of course it seems stupid to you but that's not a problem with the process...
I can also look at it from an ever more "real" perspective. Companies hire you to solve problems. To do that, you need the smarts to understand what it takes to solve the problem and the drive and persistence to actually solve it. So if the problem in front of you is "I want to be hired by Google", are you able to recognize that part of the solution is "I need to get good at whiteboard programming" and that a part of that is research and disciplined practice? If not, then you're sort of failing at the meta-interview, because your very approach to problem solving falls short of the level required to get these jobs.
By the way, there are plenty of great places to work that hire on other criteria, and what those places expect from programmers day to day is different to some extent than FAANG-caliber. That's totally fine to be working there, I just wish people had the self-awareness to know what FAANGS want and how they screen for it, vs just saying "oh I am not good at that but it's OK cuz it's stupid to begin with."
[0] https://youtube.com/playlist?list=PLOtl7M3yp-DX6ic0HGT0PUX_w...