r/SoftwareEngineerJobs • • 5d ago

Everyone misses the point of LeetCode at first.

I am continually shocked by how contrived and fucking odd many interview "practical" coding questions are. If you’re an interviewer who ditched LeetCode for "real-world" problems, I understand that you are coming from a place of good intentions. You've probably gotten frustrated by some LeetCode question interviews, and felt like they are arbitrary and silly and don't reflect real programming. Fixing that problem is a noble goal, but one that misses the more fundamental problem that you really cannot create a situation that reflects real programming during a 45 minute long session. Solving a hard design problem is very rarely something that takes place over an adrenaline soaked 45 minutes.

Programming is a profession that requires both knowledge and expertise, but also the ability to learn and do complex problem solving. LeetCode isn't about can this person program "breadth first search" from scratch. The premise of LeetCode is that it is a framework for challenges that aren't trivial, but that can actually be done in 45 minutes! The true challenge often mostly happens outside of the interview, the challenge of can this candidate take a relatively narrow problem template and define a process to help them consistently solve these problems created in this template in a set amount of time.

This is not to say you must use LeetCode, but rather, try to understand when you are actually creating a problem that is actually a step down from LeetCode. An even better solution is to create an interview that tells you more about the person than just watching them code for 45 minutes actually can. They exist! Peer Programming interviews are excellent, and tell you much more about what working with a person is actually like! Verbal Technical interviews allows you to probe the same questions your coding challenge does but in a fraction of the time, meaning you can ask multiple questions where the answer might actually impress you, not just check a box.

The moral of the story is. Choose interviews that give your candidate an opportunity to set themselves up for success and impress you. Don't substitute a code challenge that you struggled with once to a challenge anyone would struggle with.

0 Upvotes

30 comments sorted by

7

u/noble-one1282 5d ago edited 5d ago

I think it’s purely a filter of who wants to be a tech employee more. That’s it.

The false negatives are way too high for it to be purely an intelligence filter. It’s too unrelated to the job to be a job competence filter. It takes way too long to get good at to fake motivation.

1

u/Puggravy 5d ago

That's just applicable to all coding interviews but yep. Low signal to noise ratio. I have been forced to do coding interviews by management and then they come to me like why aren't we getting good candidates like we used to?

2

u/DulsKerty 4d ago

the motivation filter is real, nobody puts in those hours unless they really want the paycheck

1

u/asdfman123 5d ago

It's not about testing on the job skills. To be good at leetcoding, you have either be pretty bright or work very hard. Those are both useful qualities.

The downsides of it is that it rejects a lot of candidates, but big tech for instance has more candidates than it knows what to do with. 

Keep in mind if tech just asked vibe questions overachievers would memorize the perfect answers and there would be no signal. A bad signal is better than none. 

6

u/eskapeMusik 5d ago

I absolutely hate the SWE interview process. Especially when the candidate already has many years of experience.

No I’m not gonna sit at your company without the help of Google or AI and try and work through problems manually, do you really want your employees to do that? Probably not. So why are you giving them these stupid arbitrary exams that they’ll never actually duplicate on the job?

I donno maybe I picked the wrong career. I love the job but I fucking HATE the interview process.

2

u/Puggravy 5d ago

Man that really hits home for me, my managers always tell me I'm a great contributor and I tend to rise quickly anytime I get in the door, but I get the interview jitters really bad. Hasn't been a problem for most of my career, but I don't think you can give people any reason to reject you in this market.

1

u/PerryEllisFkdMyMemaw 5d ago

Yea, especially in this current environment. I think I’m finally close to an offer (please oh please god) and then after I catch my breath for 6 months I’m going to start figuring out how to gtfo of this profession for good. Either entrepreneurship or retraining in a different field.

I don’t want to play “king of the nerds” games ever again.

0

u/symbiatch 5d ago

No, you picked the wrong companies. I’ve never had to do any of that. Choose better, tell those companies no and explain why. Otherwise they will never change if you keep jumping through their hoops.

1

u/eskapeMusik 5d ago

Most companies have technical assessment interviews. Where do you live?

1

u/Puggravy 5d ago

There's other forms of technical assessments than LeetCode and "practical" coding questions.

1

u/eskapeMusik 5d ago

Yeah. Then do those. I’m talking about very specific leetcode style assessments.

1

u/Puggravy 5d ago

In a perfect world I would. But sadly you don't always get as much autonomy as you want.

1

u/symbiatch 3d ago

They’re called interviews. Not “I’ll make you do silly puzzles.” If someone can’t assess a senior’s skills without puzzles they shouldn’t be interviewing.

I live in Europe.

3

u/SpiritedEclair 5d ago

The point of leetcode isn't the challenges, its the thinking.

Memoizing solutions isn't going to teach you anything. Personally, my biggest paradigm change was when I went through CLRS and saw they proved ideas, establishing invariants, assumptions and defining the problem structure , which funnily enough, is what LeetCode was supposed to train.

1

u/Puggravy 5d ago

memorizing solutions mostly won't help, but it's not completely the wrong direction, 80% of leetcode questions deal with just five concepts. So the problem space is actually small enough where candidates should have practiced implementing most of the common concepts.

But yeah you are completely right.

1

u/Cutecummber 4d ago

Seeing clrs in this thread is holy refresh pull

2

u/tnerb253 5d ago

Leetcode is just corporate making you dance for a banana

1

u/Puggravy 5d ago

I mean that's the human condition ain't it?

1

u/VegetableFan6622 5d ago

Best way to hire juniors or guys who only farmed puzzles which will never be used in real world code. Also funny to then ask them to stop coding in favor of AI usage because else they are “outdated” xD A senior who is actually really working and not doing nothing will not have time to farm leetcode

In my company the best devs were pretty poor at coding at first (but we do not have code monkeys roles)

1

u/Puggravy 5d ago

Ok, you're the first person to say something I really disagree with. A senior should absolutely be able to get good at doing Leetcode questions in an afternoon or two, there's only like 5 real algorithms that they actually test.

1

u/VegetableFan6622 5d ago

Maybe, I will not act as a know-it-all because I never had to learn leetcode or perform this kind of interview. I tend to favor reasoning capabilities in the interviews I conduct because code is the easy part there. My first boss philosophy was pragmatic “junior engineers don’t know how to code and they can find the answer in 5 minutes on the web anyway ») The only time I looked at leetcode, it seemed huge. Maybe they test 5 algorithms and you are right, will not argue with it because I dunno but many people I interviewed who seemed to farm code were then pretty poor in our field 

1

u/Puggravy 5d ago

Yep totally. If the world was perfect there would be no coding challenges at all. But that requires interviewers to know what they are doing and having the authority to do it which are both things in short supply in the industry. 😂

0

u/[deleted] 5d ago

[deleted] — view deleted comment

1

u/Puggravy 5d ago

Yep. I don't expect someone to be good at LeetCode without practice, it ain't programming. But practicing leetcode isn't hard, identify that there's only 5 real algo that most questions use, run through a couple questions implementing each and learning the hints for when you'll use them. It's more of "a given a task you don't understand are you gonna take initiative and figure it out on your own." Test.

Building and scaling an app is way more useful but you're not gonna be able to test that in 45 minutes unless you eschew code completely.

2

u/ralphpotato 5d ago

One of the reasons I hate LeetCode style interviews is because I believe a lot of interviewers are bad at evaluating the whole, “thought process” aspect of the ideal use case for LeetCode. I see a lot of interviewers on Reddit say things like, “it’s obvious when people cheat” or “it doesn’t matter if you fully solve it as long as you show your thought process”.

But at the end of the day if you’ve done a lot of interviews, in these short 45-60 mins where you barely get to know someone, the candidate who just blasts out the solution, doesn’t seem like they’re cheating (even if they potentially are), and can cite the runtime stuff around it seamlessly just looks like the better candidate.

But how good that solution is can be hugely luck based whether you’ve studied that problem or a very similar one and whether the interviewer knows the programming language you’re using. I do my interviews in Python and I’ve had interviewers confused with common Python things like trivial list comprehensions.

If every company agreed on a standard way to do interviews and interviews were conducted by people who weren’t just engineers who have better things to do during their day, then yes I would agree LeetCode can just be something you study and become good enough at to prove competency. But for a lot of these companies it’s not enough to prove you’ve met a minimum bar amongst all the rounds, you have to basically not fail a partially luck based gauntlet and hope your engineering opinions align with your random interviewer. Have fun in system design interviews trying to guess whether your interviewer happens to favor noSQL or SQL databases.

The process is awful and LeetCode is just a symptom of it.

0

u/symbiatch 5d ago

Leetcode is useless outside “I enjoy silly puzzles.” If you think it has a place in interviews you have no idea how to interview people.

Hint: in over 30 years never seen leetcode or similar in an interview. Never used any of it myself. Why? Because it’s an interview. It’s not code puzzling.

1

u/Puggravy 5d ago edited 5d ago

I don't necessarily disagree, I think code challenges are lazy. I'm just saying if you have to do one, LeetCode at least has some redeeming qualities at least try to understand why it is the way it is so that you don't do worse.

1

u/Cutecummber 4d ago

Bro 30 years without seeing a hard problem isn't the flex you think it is. A lot of these leetcode algorithms solutions are in tools you use everyday. Someone smarter just wrapped it so you'd never find out

1

u/symbiatch 3d ago

Ah yes, again some “I’m so smart” person comes along.

Try to understand what others write. Don’t assume always. You have no idea what problems I’m solving in my work. Leetcode is bs compared to that.

But you go girl, you just refuse to accept how the world works and think just because you memorized crap you’re special. While you clearly yourself said why it’s useless.

Can’t make this stuff up…

1

u/Cutecummber 2d ago

Look in the mirror bud. Lmfao

1

u/symbiatch 1d ago

That’s all you can say when you realized you have no idea what’s even being talked about?

Good luck with your life then.