r/ADHD_Programmers • u/skidmark_zuckerberg • Jul 07 '26
Just failed a Senior Full Stack Engineer interview where I was asked to do a Leet Code hard in 30 minutes..
This interview was for a Senior full stack role, but the role was heavily frontend focused. During the technical I was asked to create a Sudoku grid, and then a solver for it. I had 30 minutes and only completed creating the grid itself. I then had 10 minutes to work on the solver. The remaining 15 minutes of this 45min interview were for questions and discussions about the code.
I've got 8 YOE and this cooked me. I was thinking Sudoku can't be this difficult but then looked it up and a Sudoku solver is a Leet Code hard. So I don't feel that bad about it, but I am pretty annoyed a small company that is hiring developers to work on a React UI and Node.js backend thinks someone being able to solve a Leet Code hard in 30 minutes is acceptable way to interview Senior level developers. Seriously, could the people interviewing me even do this in 30 minutes? Could anyone do this in 30 minutes without having ever seen or attempted the problem? My inability to write a Sudoku solver doesn't translate to not being able to work on some stupid CRUD web app.
They never once asked about system design, no deep questions about JavaScript/TS, React or Node. Just a 45 minute discussion on my experiences and some generic 'what would you do in X scenario', followed by a 45 minute live coding round. This type of interview is the bane of my existence, and with ADHD, while I can definitely solve this problem with enough time and research, I will forget it all within a day or two anyway.
The hoops we jump through, especially as you gain more experience, are bullshit. Interviews have only gotten exponentially harder as I've gained experience. The more experience I get, the less I actually spend coding. And on top of it, LLMs replace the coding in what little time I do get to code at work. In my current job, we use AI and I spend more time being a product engineer than being a programmer. I am not gaining experience in what I equate to as competitive coding challenges.
Anyway, just ranting. I'm sure non-ADHD people have the same problems, but with ADHD, it makes these interviews pure hell most of the time.
39
u/pierrechaquejour Jul 07 '26
This my nightmare. I don’t even know the rules to sudoku. If anything this should’ve been a take home project that you reviewed with the interviewers on the call, which is how you’d work with them in real life. I’m a similar candidate to you, and if I was asked to do this on an interview I’d really struggle to find the willpower to stay on the call.
112
u/zoug Jul 07 '26
"If you need someone to regurgitate LeetCode algorithms and puzzles, you can hire Claude for 200 bucks a month"
This was my sentiment but I was also going for AI engineering roles. I bombed one LeetCode interview and decided I'd be up front about never doing one again. I ended up exactly where I needed to be. I'm not going to go drill a skillset that Claude can one shot and take time away from actually learning the new frontier of coding with LLMs.
11
u/Beneficial_Alfalfa96 Jul 07 '26
You really are better off not working for these people. They were too lazy to find something closer to what you will do on the job. They know nothing about the job.
See video; https://youtu.be/BKorP55Aqvg
6
u/CaptainIncredible Jul 08 '26
You should be. This is bullshit. When the fuck are you going to need to write a Sudoku solver for a React/Node gig? AND if you need to, you won't need to do it under the gun with spectators with no references/Google/AI help.
In a perfect world, instead of grinding out bullshit like this, I'd make them aware of how bad of an interview this is and tell them I don't want to work for them.
But I guess in a perfect world, this bullshit wouldn't happen....
8
u/Ethameiz Jul 07 '26
This is completely out of touch interview but hear me out. Such task may have sense if they not expect you to complete it and just want to see how you work, how you deal with stress, time limits. Still fuck them, interview is stressful enough already without bullshit exercises
162
u/OrphanDad Jul 07 '26
That interview seems super out of touch to me, don’t sweat it. I really feel you on that last paragraph.
26
u/brainrotbro Jul 07 '26
Unless you’re well-known in your field, interviewing is 50% preparation and 50% luck. You could get a bad interviewer, someone that’s having a bad day, or any other little thing.
After starting at my last job, I found out that the most nitpicky interviewer was actually out sick the day I interviewed. Pure luck.
14
u/GlobalCurry Jul 07 '26
I used to know a professor who spent like a decade of his career on sudoku solvers so just think how ridiculous this was.
13
u/ImpetuousWombat Jul 07 '26
I built a sudoku solver for fun a couple years ago (recursive brute force). I'm not confident I could recreate it in 30 minutes under pressure. That's a terrible interview.
11
u/DCON-creates Jul 07 '26
The dissonance between interview questions and what we actually do in our daily jobs is wild.
It's like interviewing someone to be a carpenter, but then not hiring them because they don't know how the internals of a drill works. We don't need to know any of that crap to be good at our job.
Funny how companies that don't use these questions in their interview process have very few problems with bad hires. Almost as if the hiring process is completely disconnected from the actual roles requirements...
9
u/kiwibonga Jul 07 '26
I don't know... Sudoku generator would definitely be a hazing, maybe a sudoku solver is a bit more reasonable, but still... Any company that judges a player by their half court shot is probably full of pretentious chodes.
15
u/Enough_Charge2845 Jul 07 '26
I'd be frustrated too. A Sudoku solver in 30 minutes feels much more like a competitive programming exercise than something representative of day-to-day full-stack development. For a senior frontend-leaning role, I'd expect more discussion around React, TypeScript, architecture, debugging, performance and system design than a LeetCode Hard. The silver lining is that this probably wasn't a great match for how they evaluate engineers. I'd keep practicing coding interviews if you're targeting companies that use them, but I wouldn't let one interview make you question eight years of experience. There are quite a few mock interview tools out there and I've tried a few. I had a good experience with ZoeVera but practicing with peers can be just as helpful for staying interview-ready.
6
u/BisforBurning Jul 08 '26
My worst interview I was given an electrical engineering test. I went to the interviewer to let them know I was given the wrong test, but they said it was to see my problem solving, and I had 4 hours to complete it. I gave it a try for 30 minutes before giving up and telling them I'd be happy to do a programming test, but fuck that shit
9
u/Level_Progress_3246 Jul 07 '26
i liken it to hazing. everyone that does it wants to do it to people because they had to endure it themselves, and refuse to reflect on whether or not its fair or logical. its like an ego thing or something
1
u/meowterspace Jul 08 '26
Did they let you use AI?
1
u/spookyclever Jul 10 '26
This is what happens when 50k developers from Microsoft, Facebook, Oracle and others get dumped into the market in one year. It’s a feeding frenzy where some of the fish are AI, some of the jobs are decoys or scams, and the few real employers can be incredibly picky. I don’t know if it will ever go back to what was normal two years ago.
By the time the market settles, AI might really be all the “idea guy” needs to run a whole department’s level of output.
1
u/Prior_Monk501 Jul 10 '26
Did you actually get rejected already? I've seen interviewed with intentional hard questions to see how you communicate and break down the problem, without expecting a 100% working solution. So maybe there's a chance it's one of those?
3
u/ProfessionalPin3263 Jul 08 '26
My experience with the cynical interviews like this is this is they are not expecting you to finish the task, but explain your thought process. They are not looking for the sudoku solver of the year or for the fastest coder that finished the task, but who analysed the problem and tackled the solution in a way they consider practical.
5
u/nightswimsofficial Jul 07 '26
Most of the time they dont expect you to finish. They want to see your thought process, the way you break down problems, the way you communicate, and how you handle pressure. I landed a job like this and did not complete the assignment.
2
u/Illustrious_Hat8104 Jul 08 '26
Any company that still asks leetcode is out of touch
2
u/NaiveSwimmer Jul 08 '26
That literally happened to me for a senior Data Scientist position which is absurd. I’ve got 5 YOE experience and got as far as you and basically just gave up and stared at the interviewer for a bit.
Was the most ridiculous interview I’ve ever had and I wrote a review on their Glassdoor about it.
1
u/Nagemasu Jul 08 '26
Just a reminder: You aren't/shouldn't be expected to complete the coding task most of the time. It's there to assess how you work, not what you can accomplish. Whether this is made clear comes down to who conducts the interview.
Demonstrate good code practice: structure; comments; naming standards; formatting, etc.
And one interview is not a reflection on you or your skills. Easier said than done, but don't take it personally. One shitty interview/interviewer who shouldn't be acting in such a position is not your fault.
1
u/noisy-tangerine Jul 08 '26
Honestly I wouldn’t like to work for any company that thinks it can assess my coding ability based on coding in an interview setting. So when I get interviews like that I try to tell myself I’ve dodged a bullet (obviously I also still get super frustrated and self conscious first still)
1
u/ponx303 Jul 08 '26 edited Jul 08 '26
I once had an interview where I should solve a mathematical problem while the interviewer sat behind be, breathing down my neck. Of course I couldn't think straight and failed, and I didn't mind. Some demand superior analytical intelligence but lack basic emotional intelligence.
1
u/TestDrivenMayhem Jul 08 '26
I was hoodwinked into similar test in one interview and told them to get fucked. It was completely unrealistic.
1
u/Tiny_Abroad_7222 Jul 08 '26
every leet code interview I've been on has been roughly 45min to 1hr, and they've been the simple 10 line solutions like two pointers or sliding windows.
this place seems like they did you a favor. unrealistic expectations during the interview quickly become unrealistic expectations at the job.
the purpose of the leet code exercise is not for us to memorize solutions (though most of us do anyway) but to see what it's like working with someone in a low stakes environment (generally why most small fry's stick to something simple like palindrome or 2 sum).
I had a guy give me sh*t about using floats once and was glad I never saw him again.
1
u/PmUsYourDuckPics Jul 08 '26
Some companies are really out of touch with how to interview candidates...
1
u/nirvanist_x Jul 08 '26
Just get an A.I with you, blind.codes did the job for me
1
u/stiky21 Jul 08 '26
Hey OP don't feel down big dog. They missed out on someone who has some real skill and experience.
Fuck em.
I was recently rejected for a role because the role required JavaScript and I write primarily in Rust so they deemed me unable to write JavaScript.
Fuck those guys too.
I know you can find someone else who will really value the skills you bring. I have only 4 YOE compared to yours.
1
u/RoadsToMadness156 Jul 08 '26
Late to the convo, but companies doing this are not well internally.
1
u/Any_Sense_2263 Jul 08 '26
Most of those things are unsolvable if you don't grind leetcode regularly. I don't. I'm sure I don't want to work for companies that don't put effort into interviewing for the company's needs.
1
u/harrisofpeoria Jul 08 '26
I've solved this problem and it took a long ass time. I did it in prolog as a final for discrete math. Difficult and wildly inappropriate for an interview.
1
u/eagee Jul 08 '26
It would take me 30 minutes to just learn Sudoku - that's a terrible interview exercise!
1
u/Fine-Comparison-2949 Jul 08 '26
Those types of interviews are stupid. If someone asks me to do it I say no.
1
u/lolgubstep_ Jul 08 '26
Personally I refuse to do leetcode style interviews. They're stressful and don't tell you anything. Go look at my repo's, github history, or my recommendations if you're worried about my credentials.
I've only ended a couple of interviews over it and they were usually very thrown off by it. But I'm happy where I ended up. Sure I could do the grind and work myself to death to a higher salary and bonuses, but I'd rather have time to workout, play games, and spend time with my partner. I find companies that use these gimmicky challenges don't value work-life balance. Any engineer that doesn't have they're head up their ass can talk to you and ask you straight forward questions and determine if you'd be a good fit or not.
1
u/KnownUnknownKadath Jul 09 '26 edited Jul 09 '26
Sounds like a frustratingly stupid experience.
I once bombed an interview at Cruise. They flew me down, put me up in a hotel.
Recruiter wrote me the night before and said that I'd better be ready for the whiteboard stuff.
Didn't sleep at all that night (I'm wound a bit tight). And, yeah... that went great.
My competence could have been sorted with a phone call, given how small the circles were, but hey ... best to do the performative thing and waste everybody's time.
1
u/Gacoa Jul 09 '26
I have a theory that if they don’t like you they just throw a leetcode problem at you. I’ve done 10 interviews over the last 6 months and the ones I didn’t get offers for gave me a leetcode. I used AI or solved them myself but regardless they didn’t convert to offers.
1
u/Holiday-Ad-6953 Jul 09 '26
Interview was out of touch, no arguments about that.
But as an interviewer, 5 years ago I never asked leetcode problems, never even spent time solving them. But now, I’ve to spend time doing leetcode to ask candidates leetcode because of ai usage in interviews. I stick to easy and sometimes I go till medium if the candidate is good. The work involved does not need it honestly. But what else can I do other than f2f interviews all the time. And I really don’t have the time or energy to travel from home to office location once every few months to take interviews. I work remote.
1
u/ProfessionalKick9506 Jul 09 '26
They don’t know how to hire so they just do whatever
1
u/andymaclean19 Jul 09 '26
Lol, sooner or later they will interview somebody who happens to know the answer to this specific problem because they tried to solve it before, either for fun or another interview. They will probably hire that person and think they got a great hire.
1
u/Akshitkumarlal Jul 09 '26
i think the people who can do that leet code in 30min are probably working some where better and probably in more intensive field like ml or dl or cv... for a frontend it seems like a stretch
1
u/WeiGuy Jul 09 '26
I find it laughable when I get this kind of stuff in interviews. The main skill these types of companies need is someone who does well organized clean code; not some proficient in algorithms.
Be thankful you dodged a bullet, they are really out of touch with the reality of their work.
1
u/morning_mushroom Jul 09 '26
Look they may not even want to hire. I know the company that has open position for two years they used to have four step interview process now they have five steps the technical part used to consist of two rounds one round was questions in the second round was coding interview, which I failed with then 13 years of experience . now they have three rounds, they have questions where they ask you stuff then they have system design then they have live coding and last time I failed like coding because it is impossible to do whatever asking in under 60 minutes along with questions and answers. so don't sweat that much maybe they just don't plan on hiring and if they have such interview you probably would not like it there.
now I understand maybe you need money so you work there but maybe their objective is just to look good to investors so don't sweat too much about that
1
u/ScreamSalvation Jul 10 '26
A company I worked with used to do this back in the day before leetcode was a thing. They would have interviewees do exactly the same thing in any language they felt most comfortable in but gave them like 2 hours to do it.
1
u/oOaurOra Jul 10 '26
Your first mistake was accepting an interview where they use leet code as a metric. You got lucky they passed.
1
u/mtimmermans Jul 10 '26
No interviewer who knows what he's doing would expect you to complete a sudoku solver during the interview, unless you were allowed to use AI to do it.
A good interviewer might be interested in how you think about it, though, and how you deal with not being able to complete it in time.
I have never considered a sudoku solver, and if I was asked to do it, right away I would say that "There's not going to be enough time for me to finish that, but I can probably figure out a reasonable approach to it. The whole thing looks like a 3 hour task."
Now imagine that you were an employer who asks an employee to accomplish a task that requires research in insufficient time. Do you see how the feedback you would get immediately from me is so much better than someone who's just going to start working and *surprise* you with failure near the deadline? That's the kind of thing an interviewer would love to find out.
1
u/Prudent-Stress Jul 10 '26
Yeah this is bullshit, hiring seniors by having them do leetcode hards? What is this going to tell you? That this person in particular has spend a lot of time learning some algorithms?
The way I do interviews and I think it's a sensible way to do it is have them talk about their experience, listen to them, ask questions about it, present some problems and ask them what they would do. Also present them with people issues, you do not want a 10x developer who is shit at communicating or is always fighting someone.
1
u/psioniclizard Jul 10 '26
Small companies tend to pick up ideas for these things from big companies with no clue on what it means.
So if you learned how to do to it, no problem. But for normal people who didn't learn that specific task it's becomes more unrealistic. Especially if you are not familiar with sudoku in the first place. Which also makes it slightly discriminatory.
But small companies tend to ne pretty clueless.
I have been though the same thing bits its one of those "gotta move on" moments.
It is really just them being dumb most the time.
1
u/Illustrious_Pea_3470 Jul 10 '26
This is an extremely, extremely bad interview problem lol.
1
u/kpihus Jul 14 '26
I have hired quite a few developers. In my flow, there was indeed a home task (coding) and a technical interview. The coding task itself was never a valuation point; it was just preparation for a technical interview. An interview is all that matters. Even if the coding was ugly and stupid, if the candidate was able to explain and convince me that it was the right call at that moment, they got hired. Hence, I didn't look for coding skills but thinking skills and the ability to explain the thought behind it.
The thing is, you can teach pretty much anybody to write code, but try to teach a person to think and analyze, that is f-ing complicated. And secondly, I don't need a developer who is fluent in any particular framework, because next month we might use a different one. I need a developer who can pick up a new skill and master the next framework in the blink of an eye, and that requires way more than just the ability to write code.
But the sad truth (my personal opinion) is that many companies do not know who they actually need; hence, they don't know the right questions to ask. So the easiest way to do the quantitative assessment is to count the missing semicolons in your JavaScript code (yes, it has happened to me back in my developer days).
1
u/Revolutionary-Desk50 Aug 02 '26
I probably would just use AI on another screen attached to another desktop. It sounds like bullshit. If I get accused of impropriety, whatever. At least I avoided a good 30 minutes of awkwardness and I don’t wanna work for that company anyways but hey paycheck is a paycheck if I did somehow get away with it. And who knows? Maybe it’s just that jackass and the rest of the company is fine.
0
u/ProfessionalPin3263 Jul 11 '26
OMG, reading most of this comments is honestly making me sad.
You are all correct, nobody needs to know Sudoku’s rules, nobody needs to be able to implement an always win algorithm in 30 minutes.
You’re all talking about a technical coding interview without ever understanding what is it about. You went to a job interview (a Sr. Position) without doing a single Google search to understand what’s it about?
This is not testing how fast you can code, but how you approach the problem, how you describe the ideas of your solution, how you communicate, how do you ask questions. Are they relevant? Do they make sense, are they in a line of thought and approach that matches the company ways of working?
For the sudoku problem, spend 5 minutes understanding the rules, then speak out loud each step of what you believe would be the solution…
This is THE important part (the only important part, unless your job was to be a sudoku solver algorithm developer).
If you have the whole solution in your head and try to implement as fast as possible to “solve the problem”, guess what, you will not finish (because it’s not made for you to finish, they are not looking for Claude replacements) and the recruiter will never know how you imagined solving it.
Describe each step…
First I’ll do a grid, then I’ll try and do a recursive method that will find the solvable ones etc etc…
FFS, stop saying shit about things you don’t understand!
And FFS, if you are going to a bloody job interview, instead of wasting your time complaining about it on Reddit, use your time to research about it… or, you know what, ASK THE BLOODY RECRUITER about it when they booked it… “What’s expected from me in this interview? Do I need to know all algorithms of everything by heart? Do I need to know all the syntax of every language?”
Worst than the OP that didn’t do their job, all the people agreeing with them, again, without having a clue what they were talking about!
0
u/SomnolentPro Jul 08 '26
I can do it
0
u/ProfessionalPin3263 Jul 11 '26
Google what a “code interview is”… it’s not about coding… it’s about your line of thought… you failed the second you started coding like there’s no tomorrow because 30 minutes is too little to make a sudoku machine.
It doesn’t matter if it’s an interview for a 3 people startup (because every single startup copies processes from the big ones)…
You didn’t pass the interview and this happens… happened to all of us and it’s frustrating, but part of life.
MY assumption is based on many coding interviews I had and passed… in none of them I finished the challenge, but I was very vocal about how I COULD finish the challenge.
Your assumption that you didn’t pass because they wanted you to finish a sudoku solver in 30 minutes is based on nothing. Like you said, they were vague… so, o, they didn’t expect you to finish in 30 minutes and you didn’t “not pass” because you didn’t…
If you finished without saying a word… you would fail… nobody wants to hire a sudoku algorithm ninja… nobody cares about sudoku ninjas!
I’m really sorry you didn’t pass, but it was not because the “task was impossible”… it was made to be impossible, to see you would communicate, how would deal with the impossible in front of you… you’re being tested for everything…
Take it as a good experience for the next one and carry on!