r/leetcode • • 6d ago

Intervew Prep Google AI-Assisted Coding Comprehension Interview

Hi, did anyone ever take an ai-assisted coding comprehension interview at Google? I'm wondering the following questions:

  1. what is the codebase size? A few files like 3~5 or a tons of files like a real production repos?
  2. is this more like "solving a real issue that you might encounter in your working codebase", or just another form of leetcode problem that want you to come up with fancy algorithm and use AI to implement the code?

As far as I know, for different candidates google will choose different platforms, some will use antigravity and setup your own environment, while others will use coderpad.

For my case it will use coderpad, I wonder whether it suggests it is more like an algorithm problem, like what Meta do with its AI coding round.

Also, I wonder whether interviewers want us to give our own idea (how to fix this, what algorithm to choose) before using AI to implement, or it is ok to always ask AI as long as we double check its response?

Any advice on how to prepare this type of interview is greatly appreciated, thanks!

14 Upvotes

13 comments sorted by

5

u/Uahakan 5d ago

from what's been posted it's not leetcode in disguise. the coderpad version people describe is a few hundred lines across several files, and it goes in stages: figure out what the code does, find and fix a bug, then improve something (a small feature or making it faster).

the bug stage is where it's decided. gemini will often propose a fix that looks right, so say whether you agree and why before applying it, and run the failing case. decent prep is a small open source repo you've never seen, 45 minutes, fix one real issue while talking out loud.

1

u/Artistic_Earth_7014 5d ago

Thank you! There are so few reports about Google ai coding, so I have to rely on the questions from Meta ai coding; from my point of view, Meta's question is just a leetcode in disguise, although it also follows the same read - debug - add feature - optimize pattern. I guess different companies just have different preferences.

2

u/Confident-Box-6291 5d ago

where to find this repo and how to make sure there's a real bug in the code to fix?

2

u/delutionist 5d ago

follwing

1

u/PraxisAI 1d ago

try matplotlib issue 22686. the script in the report makes RangeSlider throw an IndexError on 3.5.1 when both starting values are zero. run that and see if you can fix the crash before opening the patch.

2

u/-procrastinate- 6d ago

You can check out NRML, it has pretty good problems that are similar in format and codebase to what you will see. Similar to coderpad, and yes, similar format to meta

1

u/Artistic_Earth_7014 5d ago

Thanks! Meta's ai coding from my point of view is very similar to a leetcode question since in many situations you need to come up with your own algorithm when optimizing the codes.

1

u/Infinite100p 6d ago

Do you know if it's similar to the AI-assisted Repo problem in Amazon OA?

1

u/triggered-detonator 5d ago

What is NRML?

3

u/Confident-Box-6291 5d ago

It's a website nrml[dot]dev

0

u/[deleted] 5d ago

[removed] — view removed comment

2

u/Artistic_Earth_7014 5d ago

Thank you! I wonder whether for this type of interview, we should always propose our fix / improvement independently first, or I should just let AI decide but do my own verification. I saw some people reporting that they failed ai coding because interviewers think they didn't use AI very often in the interview, and I definitely saw the opposite too.