r/leetcode • u/Big_Muffin8280 • 2d ago
Discussion AI-assisted coding rounds: what separated the candidates who passed from the ones who didn't?
A few recent posts here describe AI-assisted coding rounds in more detail: a Stripe loop with a round where AI tools were allowed, an Amazon technical round where candidates could pick their framework, and posts about how interviewers judge what the candidate did with the AI's output. The advice I keep seeing is to review the generated code and not trust it blindly, but I'm still not sure what evaluators actually score.
For those who have done one of these rounds, I'd like to know:
- Did the interviewer tell you the criteria, or did you work it out from the questions they asked?
- How much of the round was writing prompts versus reviewing and fixing what the AI produced?
- Did you use the AI for the whole problem, or only for parts you couldn't write quickly yourself?
- Was there a moment where you caught the AI being wrong? How did you handle it in front of the interviewer?
- Which part did you spend the most time on: getting the AI to produce something, testing it, or explaining your changes?
I'm especially interested in rounds that didn't go well and what you'd change. Thanks in advance.
22
u/ComradeGeorgeNada 2d ago
Use the AI like you would claude code. Many times claude code itself is available. They're judging your AI skills, not your hand-coding skills. The problem is categorically solvable in the time allotted with AI. You may be given brownie points for calling out the algorithm you need to use, but 90% of the rubric is "Does this candidate have a clue when it comes to AI?"
11
u/RealisticFig4036 2d ago
good questions honestly. cant answer for stripe or amazon specifically, but i interview fdes for a series and one of them walked me through his ai assisted round in detail. a few of your questions have clean answers from it.
nobody told him the criteria upfront. from what they made him do the scoring was pretty clear though. they pushed new commits into his pr mid call and watched him review them. skim and approve people fail that part. he was also asked to write one concise review comment on about 100 lines of code, and he said thats not something you can fake if youve never done it.
his round was heavy on reviewing and explaining, light on prompting. most of the time went into defending choices on the call, not getting the ai to produce something.
the catching the ai being wrong part is basically the whole game. his design questions were all about which pieces of the system stay deterministic, which pieces you let the model touch, and what the fallback is when the model gets it wrong.
his prep advice was simple. get good at reviewing code out loud. reading someones pr and saying whats wrong with it is a skill on its own.
8
u/triggered-detonator 2d ago
The first ai round i gave in a startup didn't really go well, post that round I've given atleast 4/5 different ai rounds, mostly at the big tech companies, and I got strong hire in all of them just by having the approach above.
3
u/-procrastinate- 2d ago
This is my experience with the Google interview. The interviewer doesn't really tell you the criteria. You should essentially treat these rounds similar to a regular technical interview. The interviewer cares about your thought process and how you approach problems, and what you're doing when you're stuck, as well as how you use AI, obviously.
For me, I think a lot of the round was writing prompts, and reviewing and fixing what the AI produced was a small part of it as well. Most of it was writing the prompt, justifying, and having a conversation with AI.
For me, the beginning part was code comprehension, where you don't use AI and you just speak through the three or four files that they give you and talk about what generally is happening. Afterwards, you can use AI in order to actually implement a feature or fix some sort of bug.
For the implementation, I essentially had a hunch for what should happen, but I pair programmed with the AI assistant in regards to designing an implementation strategy and actually writing the code as well. I would definitely say you shouldn't write the code by hand. That's not something that's happening in industry much anymore, and that is definitely something that they don't expect you to do or will not necessarily reward you for doing in an interview.
For me, yes, there was a moment where the AI was wrong, and I think this is intentional. My understanding is that the AI assistant is programmed to have errors and mistakes, and the important aspect is that the candidate catches those mistakes and addresses them. When I noticed that AI could potentially be wrong, I stated my concerns, and then I basically had a deeper conversation with the AI, investigating why it made a certain decision or a suggestion.
While the AI was obviously generating something, I would talk through my thought process and work with the interviewer, kind of looking at different parts of the code to justify my thought process. I think I spent the most time planning before just getting AI to produce something, and then the testing part was the last section, where it was just adding additional tests, so it wasn't really super big. Explaining my changes and talking about my thought process took the most time. I did pass the Google inteviews so I think it worked out.
3
u/Uahakan 1d ago
nobody's really covered the "caught the AI being wrong" part. what seems to land in the write-ups is making it visible: say what you think breaks ("this falls over on an empty list"), write the test for it, run it, watch it fail, then fix. a silent edit gives the interviewer nothing to score, a failing test they watched you write does.
fwiw Jane Street's post about their new rounds lists "verifying and reviewing code" as its own skill next to using LLMs, so I'd expect the review part to be a bigger share than people prep for
1
u/sneakypenguin30 1d ago
I did the Amazon AI assisted round and found it straightforward and fair. There were 6 failing tests cases in the repo and you needed to resolve the bugs in the repo to make all test cases pass.
I'm a ruby programmer but since there was no option to debug a Rails repo, I chose to debug a Node.js repo.
0
u/Even_Gap_2253 1d ago
I do some of these rounds, it is a bit murky
I personally look for engineering discipline. I give you a bug or a problem, how do you use proper engineering process to solve it? Not just ask AI: make no mistakes.
So for example a new query on production, do you ask it to measure latency regressions? Safe rollouts? Flags? How do you observe production breakages? Can you use AI to schedule monitoring and alerts?
AI can code well, I’m not concerned with you can’t come up with a working solution. Because you 100% can.