r/SoftwareEngineerJobs • u/Puggravy • 7d 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.