Live data from Hacker News

Leetcode Considered Harmful

fullcontextdevelopment.com

91–100 of 132 posts

Re: Leetcode Considered Harmful

#91

Earlier quoted context omitted.

If programming is an art, then the programmer should have an audition instead of an interview. Which is approximately what leetcode is.

Most arts have a portfolio, not an audition. Auditions are specific to the performing arts which programming is definitely not. Musically I'd equate programming more to composition, not performance as there is no audience.

> Most arts have a portfolio

Some employers ask for your personal github. That’s just like a portfolio of past work.

Re: Leetcode Considered Harmful

#92
It depends on the nature of the test. I recently did an assessment for a company that wanted a DP leetcode problem done in 4 minutes.

It also doesn't help that, as previous HN comment sections prove, a staggeringly high number of people who ace these tests actually just outright cheat. And then they come here and talk about the necessity of using LC to filter out 'unqualified candidates' (ie not them).

Re: Leetcode Considered Harmful

#93
post #32
post #12

Happily employed and had no trouble with coding interviews myself. So my opinion isn’t from some personal angst about passing this bar: I found it easy. That said: I’m tired of the attitude that there is no effective alternative to this style of interview. You do know we hired people to do engineering jobs for many decades before the industry started cargo culting what they observed a handful of Silicon Valley mega-c…

Well argued, but you didn't address the need for tests and/or certifications to prevent companies from being overwhelmed by a flood of unqualified candidates. A doctor, lawyer, public accountant, and, well, many types of engineers obtain public or private certifications. As a result, it is much, much, much easier for hiring companies to find and interview qualified candidates. I suppose, in the "old days" universitie…

This might actually be much worse than just looking at the academical credentials. Most if not all those tests are utterly useless, at best can only tell how familiar the candidates with the test subject but nothing else. Let the team to review the resumes and do phone screening would be much better than those tests.

Re: Leetcode Considered Harmful

#94

Earlier quoted context omitted.

Except that would be like asking say a piano performer to run Liszt etudes mechanically, when you're hiring someone to play at your wedding. Completely different skills. Sometimes, you do need someone with these skills. These times are few. Often, a person forced to train to this test will neglect other skills or be unable to match top tier performance in the weird test. Wrong audition can be worse than no audition.

Some programmers are like wedding singers, some play for a global audience. If you hire a piano player for large symphonic orchestra, or a famous band, and they are not already famous, you want to hear them play. Maybe one piece they chose themselves, but maybe also a piece everyone in the genre is expected to know. And if they have to improvize a bit, that may tell you a lot, too: https://www.youtube.com/watch?v=HtI…

I was curious how staffing in classical orchestras work and below is a good explanation from Quora (about the US).

https://www.quora.com/How-does-seating-and-hiring-firing-in-...

   My former teacher (he's been a concertmaster of a major city symphony for years, and is also well versed in the different ways in which one can ask "Did you actually practice?") wrote this explanation:

    Think of it as management and labor. Management is Executive Director, Music Director, Principal Guest, staff, etc. Labor is orchestra musicians. Then you have the Board, which is there to raise money. Then you have the volunteers. Bear in mind, orchestras are non-profit, 501(c)(3).

    So between management and musicians there is a CBA, or collective bargaining agreement. Just like the Major League Baseball has one between players and owners. In the CBA, you'll find chapters on hiring and firing. Each Symphony has its own CBA.

    Usually, hiring is done by auditions behind a screen. If you're hired, your first year is the probationary period (sometimes two years). At the end of it, if management deems you fit for the job, you are granted tenure, just like at a university when you're applying for a teaching position. You don't need to re-audition, unless it is for a different title (from section to title chair, etc.), in which case you do. Firing, if it must come down to it, is also explained in the CBA.

    The big symphonies are part of AFM (American Federation of Musicians). Then you have regional orchestras, community orchestras, etc. Some might be unionized, some not, but essentially it sort of works the same way.

    Some concertmasters, like in England, are contracted outside the CBA, so they may be on a 3 or 4 yr contract, or more. But I think it the US, most are part of the CBA.

Re: Leetcode Considered Harmful

#95

Earlier quoted context omitted.

Some programmers are like wedding singers, some play for a global audience. If you hire a piano player for large symphonic orchestra, or a famous band, and they are not already famous, you want to hear them play. Maybe one piece they chose themselves, but maybe also a piece everyone in the genre is expected to know. And if they have to improvize a bit, that may tell you a lot, too: https://www.youtube.com/watch?v=HtI…

I was curious how staffing in classical orchestras work and below is a good explanation from Quora (about the US). https://www.quora.com/How-does-seating-and-hiring-firing-in-... My former teacher (he's been a concertmaster of a major city symphony for years, and is also well versed in the different ways in which one can ask "Did you actually practice?") wrote this explanation: Think of it as management and labor. Ma…

And I bet no one sane asks musicians to play and talk at the same time (to better assess their "thought process").

Re: Leetcode Considered Harmful

#96
post #77

I find Leetcode discussions strange. I recently changed jobs so I was preparing by doing some Leetcode problems. The actual problems I was asked during the interview process were very simple compared to what I expected. Interviewers even explicitly stated that they wanted to see how I think, and the solution didn't even have to compile. So in my experience the whole idea that «Leetcode is harmful» is overblown a litt…

I totally agree. But I find the whole discussion not strange but rather dishonest. I realize I'm biased towards thinking that the blog posts condemning some special sort of interviewing come from the "losers", the people that didn't get the job. That isn't true in general, but there is still this aura of entitlement: "I am a good programmer! I have other skills than leetcode! I demand an interview process that is tai…

I guess it is strange to me, as you usually only hear about bad stories. So I was expecting it to be much worse.

I agree, as long as companies evaluate candidates by a combination of different tests, this should be the best for everybody.

Two companies for which I went through the whole interview process had 5-7 different interviews, and only one of them was leetcode-style problem. So even if somebody fails at leetcode problem they should excel at something else.

Re: Leetcode Considered Harmful

#97
post #77

I find Leetcode discussions strange. I recently changed jobs so I was preparing by doing some Leetcode problems. The actual problems I was asked during the interview process were very simple compared to what I expected. Interviewers even explicitly stated that they wanted to see how I think, and the solution didn't even have to compile. So in my experience the whole idea that «Leetcode is harmful» is overblown a litt…

I totally agree. But I find the whole discussion not strange but rather dishonest. I realize I'm biased towards thinking that the blog posts condemning some special sort of interviewing come from the "losers", the people that didn't get the job. That isn't true in general, but there is still this aura of entitlement: "I am a good programmer! I have other skills than leetcode! I demand an interview process that is tai…

Lol almost all Leetcode is memorized, most of the algorithms developed tool years for researchers to understand, someone isn’t going to figure it out in 45 minutes without having seen it before

Re: Leetcode Considered Harmful

#98
post #32
post #12

Happily employed and had no trouble with coding interviews myself. So my opinion isn’t from some personal angst about passing this bar: I found it easy. That said: I’m tired of the attitude that there is no effective alternative to this style of interview. You do know we hired people to do engineering jobs for many decades before the industry started cargo culting what they observed a handful of Silicon Valley mega-c…

Well argued, but you didn't address the need for tests and/or certifications to prevent companies from being overwhelmed by a flood of unqualified candidates. A doctor, lawyer, public accountant, and, well, many types of engineers obtain public or private certifications. As a result, it is much, much, much easier for hiring companies to find and interview qualified candidates. I suppose, in the "old days" universitie…

Honestly, what we define as a flood of unqualified candidates is kind of ridiculous, nowadays it refers to anyone who didn't got to a top state school or top 1% equivalent.

The reality is that there are too many qualified people at the lower end of the pipeline and this is because we don't hire enough people as it is for our current positions, why this happens is really simple. It's to save money. There's a reason why we have terms like rockstar developer and heavily advertise the idea of a developer doing 1000x work of another one, which simply put is not true.

Most improvements to software and technology occur over time with experience and expertise what we see nowadays is an extremely self destructive behavior, at most top companies it results in heavy loss in expertise as most individuals will leave once their stock options can be sold. In order to maximize their profit while providing little to nothing of value to said companies. The idea we pay developers six figure salaries is inflated and has been a net negative. Resulting in inflated egos and an elitist environment which it is debatable to which provides anything of value or close to little at all.

We don't really need certification programs as they're typically used to stop minorities from gaining access to fields due to barriers of entry and the fact they are systemically flawed as it results in people just chasing after their next certification as the "logical" next step instead of actually learning anything of value.

Honestly, companies just need to be comfortable with hiring someone with a credible degree and taking a chance on them, it's basically the same thing as hiring with leetcode anyways according to google there is very little positive correlation. Anything else is ripe with corruption. But even this process can easily be corrupted, e.g. hiring only people from elite universities or select ones you have deals with in the area which already occurs in many places.

Re: Leetcode Considered Harmful

#99

A lot of people say that they never encounter leetcode-like problems in real life and therefore they are silly. Am I an outlier? I feel like I actually encounter these kinds of things fairly often, or at least the insights that they represent. (Eg: this week I'm implementing a simple path-finder to deal with a sliiightly overgrown state machine from a vendor. ) So - at least because of that - I tend to think of leetc…

The history has it that the git prototype was written in about a week. If everyone is so familiar with algos and data structures nowadays why don't I see good and novel solutions popping up here and there?

Is that I'm blind? Or is it that the set of approachable impactful problems has been exhausted? Or all the innovation happens in closed source/saas space?

Re: Leetcode Considered Harmful

#100
post #32

Earlier quoted context omitted.

Well argued, but you didn't address the need for tests and/or certifications to prevent companies from being overwhelmed by a flood of unqualified candidates. A doctor, lawyer, public accountant, and, well, many types of engineers obtain public or private certifications. As a result, it is much, much, much easier for hiring companies to find and interview qualified candidates. I suppose, in the "old days" universitie…

Leetcode was created in part to be more equitable and objective. Before leetcode, we had people asking puzzles which had nothing to do with your coding abilities, like "How many balls could fit on a Boeing 747" or "If you have 9 balls, a see-saw, and one ball weighs more/less than the others, what is the minimum number of weighings to find said ball". Alma matter also used to matter a bunch more, and non-traditional…

> Before leetcode, we had people asking puzzles which had nothing to do with your coding abilities

This is also the problem with Leetcode: it often doesn't test 'can you code' but 'have you learnt this trick'.

Post reply on HN