r/AskProgramming • u/Queasy_Speaker7227 • 9h ago
Is artificial intelligence allowed during programming interviews?
Everyone uses AI in their work. Banning it during interviews seems a little strange. When candidates are allowed to use it, though, it becomes way harder to figure out what they really know on their own.
What are your thoughts on this right now?
0
Upvotes
10
u/MarsupialLeast145 9h ago
Interviews like these ask you to use your brain. They tell us more about what you can actually do to solve problems when you can't reach for an "AI". These skills are far more important.
7
u/BoberitoBurrito 9h ago
they are interviewing you not claude. they want to know about what you can and cant do
5
u/autophage 9h ago
I've been doing technical interviews for more than five years - which is to say, I'm still doing them today, but I also started doing them before AI-assisted coding was really much of a thing.
The answer is that using AI during an interview wouldn't even help you.
The majority of the interview is me trying to figure out how you approach problem-solving. Figuring out "is this person good at coding" was never a particularly large component of the interview - I need to verify that they have basic competency, but that's it. The more important thing is how they think about tradeoffs, how they handle ambiguity, and how they behave when they don't know something. (The correct answer to the latter, by the way, is "humbly and openly".)
I've had interviewees who were clearly typing everything I asked them into an AI assistant and parroting back the results. I failed them.
But AI-assisted coding is a big part of the landscape these days, and I actually want to see how people are engaging with that. If they mention that they use such tools I ask things like if they have standard things they include in AGENTS.md files.
4
u/Anonymous_Coder_1234 9h ago
If the interviewer asks the interviewee how to code something like say a function to calculate a fibonacci number, and the interviewee just plugs that question into ChatGPT and then copy-pastes the output from ChatGPT, then the interviewee has not proved that they know anything other than how to copy-paste into ChatGPT. So, in short, the answer to your question is "No".
In addition, the purpose of the coding interview isn't just to get the right answer and that's it. It's to show your process and your thinking. Like maybe first you come up with a brute-force solution in linear time, then you use your remaining time in the interview to optimize the time complexity of your solution to log(N). That's good. Copy-pasting from ChatGPT doesn't show intelligence.
3
u/DT-Sodium 8h ago
If you need AI to pass your job interview, it means that job should be going to someone with actual skills...
3
u/DDDDarky 7h ago
Nope
Why, are they hiring ai or you?
If you can't do it without ai, you should not use ai to begin with as you can't verify its correctness. If you don't know better than ai what would be the point? It's the same principle why you can't use textbook/phone during a school test, of course you can look it up and in many situations you can, but that's not what the test is about.
2
u/SurroundTiny 9h ago
I have just gone through the process. Some don't want you to, some encourage it. Some have asked me for the prompts I used to get the answer. Everyone will ask your experience with it
2
u/Individual_Author956 9h ago
They want to see how you approach a problem and how you use AI
1
u/MissinqLink 9h ago
Usually no
1
u/ChoiceSelect7996 9h ago
Generally no, but I have seen some teams allow it and then grill you you on why code works and how it handles edge cases. Candidates who just copy paste fall apart fast.
1
u/nwbrown 9h ago
You just answered your own question.
1
u/AlexMTBDude 9h ago
If the interview task is to use generative AI to solve a task, then of course you should use AI. If the task on the other hand is to show your problem solving ability and domain knowledge, then no. Your question is theorethical and I think that in an actual real life interview it's pretty obvious.
1
u/CorpT 8h ago
If they want to hire a leet code optimized programmer, I wouldn’t want to work there.
1
u/huuaaang 8h ago
They should tell you as part of the interview. If they allow AI I imagine they would test you by asking you to review output and see if you can find errors or things that could be improved.
1
u/peno64 6h ago
Jezus
1
u/WoodsWalker43 6h ago
I still think it's important to evaluate the human's competency without AI. I could see there being a segment of the interview that was about AI use, but I'm not sure what that would look like.
We haven't interviewed anyone new since we started using AI in our dev workflow. Partly because the job has changed so much in the last 3-6 months and we aren't sure what it'll look like in another 3. It's fair to say that our current interview process was tailored for a different job than what currently exists. It'll need changes before we interview again, so I am curious about how other companies are handling this.
-2
u/CPoundMeHarder 9h ago edited 9h ago
I am an "AI Solutions Architect". My job requires me to use AI full-time. My job requires me to interview engineers. I expect people to know how to use these tools. And when to use the tools.
Interviews are not the time to use AI. If I want a robot's answers to my interview questions, I'll ask a robot myself.
IF a candidate reads AI-generated text to me during an interview, I don't have think about their candidacy any further: NO HIRE.
If the candidate protests in the interview "how can you say no AI in an interview when you use AI all day", I put the candidates question into a robot, and read off the answer. I throw their resume away and blacklist them forever: NO HIRE.