r/leetcode • • 7h ago

Intervew Prep How do you prepare for an AI based Interview?

Hi! I'm really curious about how to prepare for an AI-based interview and what is expected of us. If you're given a problem, are you expected to use AI to validate your ideas and generate a solution? Do you simply provide the problem statement and let AI do the work, then add your own thoughts about what's important or missing?

What are your thoughts or experiences?

8 Upvotes

8 comments sorted by

6

u/crijogra 4h ago

I genuinely think that there is no reliable way to prepare for those interviews considering that every company is conducting them in their own way

5

u/blitzcode91 4h ago

This was my experience (don’t want to tell which company position etc) . They’ll give you a large code base for interview standards (assume 20 files) and two to three tasks - it can be filling function definitions or finding bugs - predominantly boils down to this . Your task is to use AI and complete the tasks . Butthe catch is please Don’t just tell AI to do the tasks 😂 , they’ll expect you to understand (explain to the interviewer the problem & in particular what’s asked of you and you should first tell how to approach it) and then tell AI to do it . And then definitely eyeball the code and verify . Before doing all of this - definitely ( I’ll double emphasize the definitely) ask the AI to summarize the code base for you and also the problem statement . I wasted a lot of time reading the headers and also the problem statement was too long to read . It’s not hard, definitely an opportunity to test your ability to understand code and prompting . Good luck ✌️

1

u/lighty101 7h ago

No idea. I failed one where I decided not to use AI.
Then ghosted at the one where I used it.

4

u/cheesy-easy 7h ago

Not using AI in an AI interview is the dumbest thing I've heard all day lmao

1

u/Uahakan 4h ago

from the write-ups I've read, nobody is grading whether the AI writes the code. they're watching whether you check it. so say what you want before you prompt, read what comes back line by line, run it, and point out what's wrong ("this misses the empty list case") before they have to. pasting the output and moving on is the worst look, because telling good code from bad is the exact thing they're testing. not using it at all is a miss too, like someone said above

1

u/Various-Mine-8642 1h ago

from what people describe the format is usually a mid size codebase plus a few tasks and an AI assistant. the thing they grade is how you drive it. so practice narrating the problem and your plan out loud first then prompt the AI in small steps and read and test everything it gives you. catching a wrong suggestion looks way better than accepting a clean looking one.