AI-assisted coding on a C++ URL shortener

Google·Software Engineer·Reported Nov 2026
Rejected

The loop started with a code walkthrough. The team was Ask Maps, and both interviewers were based in Tel Aviv.

AI-assisted coding interview. The first round was an AI-assisted coding interview built around a URL shortener. The project had one C++ header, one .cpp file, and a test file. The .cpp only had two functions, process() and get(), so the whole thing was small enough to take in quickly. I spent the first couple of minutes explaining what the code did and what it would be used for, and I think that opening mattered for the rest of the round.

The main part was the AI-assisted coding session, which I had about 45 minutes to finish. I wrote a prompt with a few bullet points describing what I wanted the AI to accomplish, then reviewed the code it produced. Most of my effort went into making the prompt precise enough to get usable output, and then checking that output carefully. Audio was a real problem. The interviewer was often far from his microphone, so I missed some questions and had to ask him to repeat them several times. My speaker was turned up to about 90 percent and it still took effort to hear him. That was not on me, but it did make the round harder to focus on.

Behavioral interview. The second interview was behavioral and went smoothly. It covered my past projects and a set of situational questions.

I received a no offer after the loop.

Prep tip from the candidate

Practice reading an unfamiliar small codebase and explaining its purpose and use case within the first few minutes. Then practice writing a bulleted prompt for an AI coding assistant and critically reviewing its output, since that review was part of the round.

Source: Interview Query. AI-anonymized by the source and lightly edited for clarity.

Published

Curated and edited by PracHub

Discussion

Sign in to join the discussion. The author is notified of every comment.

Loading comments…

Interview at a glance

Company
Google
Role
Software Engineer
Outcome
Rejected
Date
Reported Nov 2026

Related interview experiences

Explore more interview rounds, questions, and outcomes.

Browse interview experiences