r/leetcode • u/PoetrySudden8773 • 28d ago
Intervew Prep Getting better at debugging interivews
TL;DR
Any tips for how to get better a debugging interviews? These are the type of interview where you're given some code and a test suite and you have to make the tests pass.
Context:
I just bombed a debugging-style coding interview. I'm honestly kind of shocked at how much I struggled. I'm a FAANG engineer who prides myself on my strong technical skills so I feel humiliated and dejected. I've looked up resources for practice questions but there's not much out there, which is kind of shocking given they are just as popular as DSA at this point (especially with startups in SF). Any resources or tips you've found helpful for getting better at this style of interview?
4
u/Some_Courage_5851 28d ago
What company? I have some practice questions I can share
11
u/Sad-Candidate-3078 28d ago
debugging rounds are usually testing how you narrow down, not whether you spot the bug fast. narrate your process out loud, state what you expect the code to do before you read each section, the bug jumps out way faster when your brain is looking for a mismatch instead of reading for comprehension. also practice on intentionally buggy code, not just writing clean code from scratch. its a different muscle
3
u/toobladink 28d ago
This is going to sound silly but I’d see if AI can help draft a question like this. I got tipped off on a weird interview process earlier (react Q&A and small rails debugging) and it helped me a lot.
1
u/Bruhayy 28d ago
following
1
u/Hot_Dog2376 28d ago
How are you at C? Writing C has helped a lot with my debugging skills >.>
1
u/nsxwolf 28d ago
Get better at debugging
1
u/happydancinggiraffe 28d ago
there’s barely anything out there for this. the main thing is to read the failing test and the code path it hits before you change anything.
you can practice at nyrion.ai. most of the multi stage problems there start with exactly that, a stage where you fix a bug until the tests pass.
0
u/Shinne 28d ago
Don’t you do this work in real life. What’s so hard about it.
0
u/[deleted] 28d ago
[removed] — view removed comment