TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Are LeetCode-style coding tests useful?

1 pointsby am391almost 3 years ago
I was recently approached by a large tech company about a position they were trying to fill. The first step in the interview process was to complete a timed LeetCode-style coding test. I took a look at some sample exercises and these really aren&#x27;t the kind of problems I work on day-to-day.<p>For context I&#x27;m a software architect with over 25 years experience building software and most of my time is spent coordinating, influencing and ensuring we&#x27;re building the right thing. The position I was asked to interview for was a similarly senior position.<p>So my question is...do companies genuinely find these sorts of coding tests a valuabke filter in their interview process?

4 comments

PragmaticPulpalmost 3 years ago
This gets discussed all the time. Unfortunately most of the responses are from people on the interviewing side of the table who simply don’t like doing LeetCode, which doesn’t really answer your question.<p>Rather than answer your question directly, I’ll try to add some perspective that might help shed some light on why companies do this. You might be 100% honest in how you represent yourself and 110% qualified for the job as they’ve described it to you. This would make the LeetCode feel unnecessary and frustrating, obviously! However, from the interviewer side of the table they can’t really know how honest you are or how accurately you’ve represented yourself. If the world was all 100% honest and candidates were 100% accurate at representing their skills, hiring would be a lot easier!<p>However, as an interviewer who has interviewed a lot of candidates, strange things happen at scale. Often times you’ll interview someone who is not great at selling themselves (imposter syndrome) who excels when given toy coding problems like LeetCode. Or you’ll get candidates who have no-name companies on their resume or otherwise unimpressive credentials who will surprise you with great performance when given the chance to do coding challenges. Or, unfortunately, some times you’ll get smooth talkers with impressive resumes who can’t actually <i>do</i> any of the work they claim to have done. Hiring them can be enormously expensive for the company, both in monetary terms and in the morale that gets destroyed when you hire someone who clearly can’t program like they claimed.<p>The downside is that some times you get people who can’t handle LeetCode, either due to stress or anxiety or rustiness who may be great candidates if they had long enough to ramp up. This is an unfortunate negative of the process, but as you can see many companies have decided that this scenario is a necessary tradeoff to get the benefits of coding challenges.<p>I know not everyone will agree with what I’ve shared, but all of these scenarios (both good and bad) really do play out over and over when you interview at scale. Not every company chooses LeetCode, though, so if you have a personal disagreement with the concept then you can always choose to interview at any number of other companies.
smoldesualmost 3 years ago
Leetcode tests you on a lot of things, but many of them aren&#x27;t occupationally relevent. The majority of these people are going to spend their time putting out fires or filling in a paint-by-numbers solution they found on StackOverflow.<p>You really want your power users to shine? Give them a real (or realistic) problem and let them tackle the problem any way they please. Let them reference the books on their shelf. Let them use Google for help. Truly productive people will flourish in this kind of environment.
bckralmost 3 years ago
This gets discussed almost every day. You&#x27;ll find lots of opinions[]<p>I personally think the mistake most people make is to go heads down and assume they know how to prepare.<p>I spent X*10^3 on preparation, between 3 or 4 different services, and added 10^6 to my TC in one job hop.<p>So I see it as an opportunity rather than an obstacle.<p>[] <a href="https:&#x2F;&#x2F;hn.algolia.com&#x2F;?query=leetcode" rel="nofollow">https:&#x2F;&#x2F;hn.algolia.com&#x2F;?query=leetcode</a>
Simorghalmost 3 years ago
I personally struggle with LeetCode-style coding tests.<p>It would be interesting to hear other people&#x27;s experiences. I&#x27;m a Front-End Engineer with experience in Machine Learning. I&#x27;ve built Deep Learning Neural Networks and am proficient with NextJS and ReactJS, in particular.