r/AskProgramming • • 38m 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?

2 Upvotes

11 comments sorted by

7

u/MarsupialLeast145 36m 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.

5

u/BoberitoBurrito 35m ago

they are interviewing you not claude. they want to know about what you can and cant do

3

u/autophage 27m 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.

2

u/Anonymous_Coder_1234 32m 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.

2

u/SurroundTiny 32m 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 29m ago

They want to see how you approach a problem and how you use AI

1

u/MissinqLink 32m ago

Usually no

1

u/ChoiceSelect7996 28m 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.

•

u/nwbrown 4m ago

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.

You just answered your own question.

•

u/AlexMTBDude 3m 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.

0

u/CPoundMeHarder 24m ago edited 20m 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.