News for hackers. Stuff that matters.
Re:I took a job at Amazon, only to leave after 10 months by colinmhayes on Wednesday January 05, 2022 @03:25PM (#29814457)
> Leetcode is systematically favoring candidates who have months of free time to memorize arbitrary logic puzzles

Finding people who are willing to spend months in order to get the job is one of the biggest reasons companies use leetcode.

Re:I took a job at Amazon, only to leave after 10 months by Salgat on Wednesday January 05, 2022 @04:00PM (#29814873)
I just wish companies that didn't have the applicant pool of a FAANG company understood this. Leetcode for your average dev company is a great way to lose a massive portion of the qualified talent pool. I can guarantee almost every SaaS developer never touches dynamic programming beyond simple memoization, yet its tested so much. You might as well test a French Cuisine Chef on how well his Chinese cooking is.
Re:I took a job at Amazon, only to leave after 10 months by endymi0n on Wednesday January 05, 2022 @04:15PM (#29815029)
> You might as well test a French Cuisine Chef on how well his Chinese cooking is.

A way more apt comparison would be evaluating him on his knive sharpening skills.

Re:I took a job at Amazon, only to leave after 10 months by Elof on Wednesday January 05, 2022 @04:28PM (#29815191)
As someone who has worked in professional kitchens, I can say that any professional chef that isn't comfortable sharpening their own knives isn't there because they love cooking. All of the ones I know take great pride in their knives.
Re:I took a job at Amazon, only to leave after 10 months by UnpossibleJim on Wednesday January 05, 2022 @06:58PM (#29817060)
A butcher can sharpen knives very well, but that doesn't mean they'll know how to cook. Same goes for a line cook, while a chef knows how to run a kitchen... sorry for being pedantic, but being good at grinding out Leetcode questions doesn't mean you'll be a good programmer. It'll mean you'll be good at answering Leetcode puzzles.
Re:I took a job at Amazon, only to leave after 10 months by dreamcompiler on Wednesday January 05, 2022 @06:34PM (#29816819)
Not a professional chef but I'm a good cook. I try to bring my own knives when I travel to visit friends just in case someone asks me to cook, because most home kitchens have shit knives that are only good for spreading butter.

This is a dicey proposition when flying: Carry-on is not an option so I have to bring my B-grade knives that I won't miss if the airline loses them.

Re:I took a job at Amazon, only to leave after 10 months by mprovost on Wednesday January 05, 2022 @07:01PM (#29817089)
I got frustrated with terrible knives in a variety of Airbnbs but instead of bringing my own, I bought a portable sharpener. It generally makes even a pretty bad knife into something not so terrible to use for a couple days. And airport security doesn't care, even in carry-on.
Re:I took a job at Amazon, only to leave after 10 months by sgtnoodle on Thursday January 06, 2022 @06:03AM (#29822055)
Growing up, all my family used were small, cheap paring knives. As an adult I treated myself to a high quality set, and I try to keep them in good shape. It's taken a few years to fix my visiting in-laws' bad habits like running them through the dishwasher or cutting stuff on ceramic plates. At first they thought I was odd for calling them out on such things, but they're starting to come around and realize the quality of life improvement of being able to actually slice things. I'll bring my sharpening stone and oil when visiting them, and put an edge back on whatever random kitchen knives they have. I sharpened my sister-in-law's set and she almost chopped her fingers off cutting through a tomato because she was used to putting muscle into it. A month later she bought a whole new set of knives that have sharpeners built into the block. My mother-in-law now even brings her knives when she visits us just so I can sharpen them sooner!
Re:I took a job at Amazon, only to leave after 10 months by NordSteve on Wednesday January 05, 2022 @08:59PM (#29818155)
Right on! I'm at an extended stay hotel right now for skiing/work, and good knives are one of the things I brought to stock the kitchen.
Re:I took a job at Amazon, only to leave after 10 months by ddingus on Thursday January 06, 2022 @12:29AM (#29819840)
Rando, but question of genuine interest:

What keeps you from having a couple sets of A grade knives? Is it cost, or some other thing?

I'm asking because I have a few tools I LOVE. One is a set of dial calipers and I've had them since the 80's. I can get new ones, and have, but that tool I know well. My measurements are most repetable with it.

Re:I took a job at Amazon, only to leave after 10 months by dreamcompiler on Thursday January 06, 2022 @03:44PM (#29829839)
I bought my A-grade knives from a knifesmith in Kyoto. They're expensive and very difficult to replace. Nobody gets to touch those except me.

My B-grade knives are Shuns, which are still much better than 90% of the knives in a typical American kitchen but a bit more tolerant of abuse and available everywhere.

Re:I took a job at Amazon, only to leave after 10 months by ddingus on Thursday January 06, 2022 @04:17PM (#29830317)
Oh, got it. Very special knives!

Thanks, that makes great sense.

Re:I took a job at Amazon, only to leave after 10 months by Elof on Wednesday January 05, 2022 @04:51PM (#29815507)
I think a more apt comparison would be to tell a classically trained English speaking chef to write out obscure recipes in French
Re:I took a job at Amazon, only to leave after 10 months by ljm on Wednesday January 05, 2022 @05:36PM (#29816107)
The HN Law of Analogical Accuracy: for each attempt at an analogy, an attempt at a more accurate yet more abstract analogy exists in a reply.
Re:I took a job at Amazon, only to leave after 10 months by FridgeSeal on Wednesday January 05, 2022 @06:33PM (#29816808)
If it continues long enough, so we eventually reach a point where the original situation is used as the analogy?
Re:I took a job at Amazon, only to leave after 10 months by quacked on Wednesday January 05, 2022 @09:24PM (#29818348)
Hilarious. "... Okay, but this is more like if instead of on a cruise ship in Borneo, the monkey is a guy at an engineering interview who only has JavaScript on his resume, and the recruiter is making him implement linked lists in C."
Re:I took a job at Amazon, only to leave after 10 months by rixed on Thursday January 06, 2022 @01:34AM (#29820174)
It actually happened already, right down below:

> It'd be a bit like 'someone else has set up a software development environment for you, now write some code' I suppose.

Re:I took a job at Amazon, only to leave after 10 months by ljm on Thursday January 06, 2022 @04:09AM (#29821121)
It just goes round in circles for eternity; the never-ending search for the Aptest of Comparisons.
Re:I took a job at Amazon, only to leave after 10 months by baremetal on Wednesday January 05, 2022 @05:49PM (#29816264)
Im not a professional cook, but i do cook most all my meals.

I make my own knives.

Re:I took a job at Amazon, only to leave after 10 months by tekknik on Wednesday January 05, 2022 @11:41PM (#29819476)
name checks out.
Re:I took a job at Amazon, only to leave after 10 months by djrogers on Wednesday January 05, 2022 @04:37PM (#29815317)
Err, no. Being able to sharpen one’s own knives is a basic skill that every professional chef learns early. Having a sharp knife isn’t an ego-driven showoff move, it’s critically important.
Re:I took a job at Amazon, only to leave after 10 months by ksdale on Wednesday January 05, 2022 @04:22PM (#29815113)
As someone who knows nothing about being a professional chef, it surprises me to discover that a professional chef wouldn't be very comfortable sharpening knives!
Re:I took a job at Amazon, only to leave after 10 months by dymk on Wednesday January 05, 2022 @07:23PM (#29817339)
I would not trust somebody who calls themselves a professional chef if they couldn't sharpen a knife.
Re:I took a job at Amazon, only to leave after 10 months by jonny_eh on Wednesday January 05, 2022 @04:24PM (#29815142)
And if they couldn't sharpen a knife? Would you still trust them to cook a 5 course dinner?
Re:I took a job at Amazon, only to leave after 10 months by jedberg on Wednesday January 05, 2022 @04:29PM (#29815203)
Sure. Just like I trust race car drivers to drive even though they don't know how to fix the car. As long as they understand the basics of how the car parts interact, they'll be just fine driving it.
Re:I took a job at Amazon, only to leave after 10 months by dfadsadsf on Wednesday January 05, 2022 @05:55PM (#29816323)
Good race car drivers actually know how car works and I bet can fix many things. Race car drivers take the car to the limit and understanding how car works is competitive advantage - they can help mechanics tune the car, can diagnose problems that show up only at high speed, understand pro/cons of different suspesions and how they work, etc.

On the other hand typical Uber driver does not need to know anything about the car other than what pedals are for and you turn the wheel to steer. If he tries to take the car to the limit, he probably gets 1 star rating from scared passenger. No need to know how car works.

You decide whether Google engineers are more like race car drivers or Uber drivers.

Re:I took a job at Amazon, only to leave after 10 months by walshemj on Wednesday January 05, 2022 @06:39PM (#29816883)
But they probably don't have a MSc like lot of F1 mechanics do.
Re:I took a job at Amazon, only to leave after 10 months by OJFord on Wednesday January 05, 2022 @05:28PM (#29816011)
But in practice, a good one probably won't let anyone else sharpen their knives, nevermind be unable to do it.

It'd be a bit like 'someone else has set up a software development environment for you, now write some code' I suppose.

Re:I took a job at Amazon, only to leave after 10 months by __MatrixMan__ on Wednesday January 05, 2022 @04:08PM (#29814957)
I've never used Leetcode, but it keeps coming up here. I've been interviewer a lot lately and I keep trying to find ways to filter out the candidates that care more about interview prep than solving real problems.

Is this a nonstandard perspective?

Re:I took a job at Amazon, only to leave after 10 months by fnordpiglet on Wednesday January 05, 2022 @05:00PM (#29815640)
I’ve been doing technical interviews for decades and have gotten good feedback from candidates about my technique. I have a small number of questions that are nearly impossible to have prepared for - one for instance is finding the median in a large dataset using map reduce. The question is open enough there’s a lot of solutions that are expensive, a lot that are dead ends, and one that’s pretty clever. The key is I let them investigate different possible solutions and give them guidance as they butt against expensive or impractical solutions and guide them to the answers I’ve heard over the years that work best. Because I ask the same questions over and over again I can tell how people treat the problem and try to solve it. But since it’s not a typical interview question no one is prepared to answer it off the cuff. Ultimately my goal is to assess whether the candidate can understand the problem, understand dead ends when I point it out, understand how to pivot to another approach, and understand how to interpret hints in a positive direction. IMO these are the important skills for a professional problem solver working in a team.

I wouldn’t use automated screening tools. These tools select for irrelevant criteria in my opinion, and are mostly useful if as an interviewer you’re too lazy or too incompetent to formulate your own questions that tell you whether a person can solve problems and interact well in a group problem solving situation. But I’m an oldster so YMMV.

Re:I took a job at Amazon, only to leave after 10 months by ummonk on Wednesday January 05, 2022 @07:58PM (#29817643)
I’ve experienced interviews that could be described this way. Nearly impossible problems where the interviewer hints at the right (or preferred) solution and I’m stuck doing a guessing game that’s highly unrepresentative of real life software engineering (since no one in actual work drops hints while holding back their knowledge unless they’re jerks). It’s a terrible experience.

I assume you do a much better job given your positive feedback, but it’s not something that every potential interviewer will replicate well if they try to follow your description.

Re:I took a job at Amazon, only to leave after 10 months by brookside on Wednesday January 05, 2022 @10:13PM (#29818835)
I completely agree and see red flags in how the parent describes their interview technique.

Interview questions with one solution "that’s pretty clever" are IMO, bad. Even cliche "easy" fizzbuzz. Ok...so you know modulo.

Rationing out hints towards that "one weird trick" sounds slightly like a cat toying with a struggling mouse.

Re:I took a job at Amazon, only to leave after 10 months by drran on Wednesday January 05, 2022 @11:53PM (#29819570)
It's typical experience for a competition.
Re:I took a job at Amazon, only to leave after 10 months by aspaceman on Wednesday January 05, 2022 @04:17PM (#29815051)
I think it's pretty common at small to mid sized companies + startups. Your more "trendy" companies and your F500 companies do the type of Leetcode interview you hear everyone on HN complain about.

It typically looks like a 15 minute phone interview with HR, followed by a lengthy Leetcode/ take home exam (that's auto graded, no humans), a computer form where you input your school, GPA, and courses taken (seriously). All of this info gets turned into a number and then HR takes a sample of the top X and hands it to the hiring manager: "Here are the 'viable' candidates".

The hiring manager then has to (basically) interview the candidate themselves. Ensure they actually have the skills for the position, determine their interest in the role, etc. So this is probably what you're doing right now. Just imagine someone filtered a bunch of your resumes first.

Take with a grain of salt, but I have heard of some folks explicitly getting permission to do hiring outside of HR at said large companies. The kids they get out of undergrad and through HR's Leetcode process are apparently complete garbage. Don't understand C, pointers, memory, or Linux at all. Don't even know what files are.

Re:I took a job at Amazon, only to leave after 10 months by toast0 on Thursday January 06, 2022 @01:03AM (#29820029)
> Take with a grain of salt, but I have heard of some folks explicitly getting permission to do hiring outside of HR at said large companies. The kids they get out of undergrad and through HR's Leetcode process are apparently complete garbage. Don't understand C, pointers, memory, or Linux at all. Don't even know what files are.

I've done a lot of interviews, and I just accept that I need to explain what a byte is to the candidates. You'd think people with a programming background would know what they are, but it's not a hard concept, so whatever. I don't really care if they know how to open a file or what a byte is, I want to know if they can describe their output, and then write code that does what they said. And if they can write a loop with a loop in it without going off the rails. Bonus points if they can communicate reasonably throughout. You can teach someone how to use files, and unless you're a C shop, most people don't need to use that much C that they can't learn it when it comes up, if they need to. But it's hard to teach 'make a spec, follow the spec you made' and if you have to teach a programmer how to do nested loops, they aren't a programmer yet. (which is maybe fine, if you're interviewing someone who's only programming adjacent or something)

Re:I took a job at Amazon, only to leave after 10 months by autokad on Wednesday January 05, 2022 @04:38PM (#29815336)
to get around to the algorithmic portion of the interview process (filling out your GPA and hoping for a recruiter call), try reaching out to the recruiters directly. they only go to that pool when their existing leads runs dry, and they'd often love the opportunity to add some self motivated candidates.

How I got my job is I searched linkedIn for <company name> + recruiter and just added all of them. That alone generated lots of recruiter calls. This was 2018, not sure if things have changed

Re:I took a job at Amazon, only to leave after 10 months by vanusa on Wednesday January 05, 2022 @08:07PM (#29817711)
Don't even know what files are

Which is of course exactly what these companies should expect if their idea of candidate "preparation" consists of sitting in front of a webform and being asked to type in functions, one after another.

Like a rat in a cage.

Re:I took a job at Amazon, only to leave after 10 months by cjsplat on Wednesday January 05, 2022 @05:09PM (#29815755)
The stuff tested by a coding interview won't get to staff level or beyond. Cross functional understanding, product or technology insights, strategic thinking, etc. are necessary.

Lots of people who come up through the ranks only know how to do coding interviews - coding is what they do in their job, it was the interview they passed and it is what they know in depth. These are also the people confused about why their careers stall.

I never used coding for interviews at Google - even for junior engineers I wanted to see if they understood issues beyond their fingertips. Of course there was always a coding interview or two, so that base was covered.

Re:I took a job at Amazon, only to leave after 10 months by asiachick on Wednesday January 05, 2022 @05:50PM (#29816280)
> I never used coding for interviews at Google

Can you explain? AFAIK Google has a set criteria for engineering interviews. 2-3 coding, 1 design, 1 something else. AFAIK if you get asked to do a coding interview you have to ask coding questions. The people who review your interview would not find it acceptable to not do it.

Re:I took a job at Amazon, only to leave after 10 months by imron on Wednesday January 05, 2022 @09:35PM (#29818458)
> Can you explain? AFAIK Google has a set criteria for engineering interviews. 2-3 coding, 1 design, 1 something else.

From the parent comment I guess they were the ones doing the design or ‘something else’ interview, with the coding interview or two being covered by someone else.

Re:I took a job at Amazon, only to leave after 10 months by colinmhayes on Wednesday January 05, 2022 @04:19PM (#29815074)
I think Leetcode is a pretty decent way to filter for people who work hard and have at least decent critical thinking skills. I guess FAANGs have concluded 1. it's easier to test for those qualities than it is to test for engineering skills 2. those are the qualities that make a good developer.
Re:I took a job at Amazon, only to leave after 10 months by slim109ya on Thursday January 06, 2022 @10:58AM (#29825182)
Leetcode is more about learning pattern recognition of the problem category than it is critical thinking.

What started off as "write a binary search" has turned into a massive gate-keeping process to try to select candidates who fit a profile. I'm not sure what that profile is, but I know I don't fit it. I grinded Leetcode for 2 months and failed Google, Facebook, and Amazon. I thought there was some luck involved and decided not to put any more time into it. But, I don't fault others who do.

I do think the large pay increases the candidate pool, so there has to be some form of testing. I just don't think as a senior developer, it assesses my skills.

Re:I took a job at Amazon, only to leave after 10 months by colinmhayes on Thursday January 06, 2022 @11:30AM (#29825669)
Pattern recognition is critical thinking.
Re:I took a job at Amazon, only to leave after 10 months by rzz3 on Wednesday January 05, 2022 @04:51PM (#29815523)
I don’t think it’s problems represent the problems we solve in the real world at all.
Re:I took a job at Amazon, only to leave after 10 months by colinmhayes on Wednesday January 05, 2022 @05:01PM (#29815648)
That's not the point though. Leetcode can't figure out if you're able to do the work today. I think FAANG believes it can figure out whether they'll be able to train you to do the work.
Re:I took a job at Amazon, only to leave after 10 months by SirZimzim on Thursday January 06, 2022 @04:09AM (#29821117)
I view it as a way to apply a somewhat relevant filter to a large pool of candidates. It's something coding related with simple appeals such as scalability which makes every engineer quiver at the knees.
Re:I took a job at Amazon, only to leave after 10 months by notreallyserio on Wednesday January 05, 2022 @04:19PM (#29815089)
Candidates are taught by peers and previous experience what to expect in interviews. It wouldn't take more than 1 or 2 failed leetcode interviews for me to start spending significant time on 'em.

I don't know if it's fair to say the candidates care more about prep than solving real problems if they're just reacting to what at least some employers are expecting.

Re:I took a job at Amazon, only to leave after 10 months by reaperducer on Wednesday January 05, 2022 @05:25PM (#29815968)
It depends on what kind of people you're trying to hire.

If you want button-pushers who will keep their heads down and do exactly what they're told, even if it doesn't make sense or is detrimental to the company, then leetcode is a good way to find those people.

If you want actual human beings who are able to think abstractly, critically, and contribute to the team and help the company grow, then look for people who have been working long enough to know that leetcode is a dead end.

Re:I took a job at Amazon, only to leave after 10 months by mavelikara on Thursday January 06, 2022 @04:00AM (#29821053)
> If you want actual human beings who are able to think abstractly, critically, and contribute to the team and help the company grow, then look for people who have been working long enough to know that leetcode is a dead end.

I am very against Leetcode style interviews. I promise every candidate interviewed by the org I lead that they won't be asked academic CS trivia.

But, I don't think what you said here is accurate.

If it were true, these other companies where all the critical thinkers have been flocking to would have displaced the FAANGs.

There are good reasons to dislike Leetcode, but your comment reads like sour grapes to me.

Re:I took a job at Amazon, only to leave after 10 months by oblio on Wednesday January 05, 2022 @03:27PM (#29814477)
Well, he did say:

> ego-driven hazing ritual

:-)

Re:I took a job at Amazon, only to leave after 10 months by samstave on Wednesday January 05, 2022 @04:03PM (#29814916)
The worst "Biggest Swingin' Dick on Campus" ego-fest I have ever experienced was working at the F in FAANG...

--

Such a den of.... you can fill in the rest...

I know someone who was literally fired for being "too social" -- and all they did was participate in the stupid parties that were had like "Build you're departments happy hour bar, here is $400 for alcohol to stock it up!!"

Re:I took a job at Amazon, only to leave after 10 months by garbagecoder on Wednesday January 05, 2022 @04:38PM (#29815340)
I had a few FAANG+M people join my (reserve) unit in the army doing cyber and 6-shop stuff who thought they were hot shit. Some actually were, but the mentality was universal regardless of ability.
Re:I took a job at Amazon, only to leave after 10 months by dymk on Wednesday January 05, 2022 @07:25PM (#29817361)
I look back fondly on the internal wiki pages documenting all the available "bar space" in the Facebook Seattle office.
Re:I took a job at Amazon, only to leave after 10 months by colinmhayes on Wednesday January 05, 2022 @04:10PM (#29814977)
Finding hard workers isn't easy. Leetcode is not a bad way to do it. It's not a great way, but it works and more importantly it scales well to the organization level.
Re:I took a job at Amazon, only to leave after 10 months by kamaal on Thursday January 06, 2022 @01:40AM (#29820199)
These candidates aren't exactly spending their lives to get hired at your place because they think you are special.

They just don't take their day jobs seriously enough and spend most of their time on LC, when you hire them, they leave in a few months because that is what they are good at.

Re:I took a job at Amazon, only to leave after 10 months by robotburrito on Wednesday January 05, 2022 @06:44PM (#29816945)
I agree, but for many people a six figure job writing code is life changing. So they are willing to study for it.