Google SWE Intern 2025 Interview Experience
Anonymous User
5268

Job Description

Company - Google
Batch - 2026
Role - SWE Intern (2 months)
Oncampus (Tier 1.5 Clg)
Stipend - 1.23L per month

OA

There were 2 questions - I could only partially solve both of them.

Q1 - https://www.chegg.com/homework-help/questions-and-answers/collection-items-n-items-item-1-q86924479

Q2 -

You are given an array A of size N. A triplet of three numbers A[i] A[j], A[k] is said to be good if the following conditions are met: i < j < k

- For every p(i < p < j) A[p] < A[l] and A[p] < A[j]
- For every q(j < q < k) A[q] < A[j] and A[q] < A[k]


Task
Among all possible triplets which are good, determine the maximum possible distance between A[i] and A[k]. Distance between two numbers say A[x] and A[y] in an array is |x - y|

Interview Prep

30 students were shortlisted for interviews which I believe was random as there were people with 0 testcases passed and there were also with 1.5/2. So if you don’t make it, it’s not your fault.

A session was conducted by Google for students of a couple of colleges who were shortlisted, here we were clearly told that only DSA questions would be asked and you are expected to write clean and optimized code.

I prepared DSA by doing past year interview questions of Google on Leetcode. You may find it here - https://github.com/jobream/Leetcode-Company-Wise-Problems

Interview - Round 1

The interviewer had my resume opened and the interview started with my introduction. We had a brief conversation over it and then the interviewer shared a google doc with me and pasted the first question.

It was a pretty easy question related to strings and hashing, I initially started with an O(n^2) approach and then after a bit of cross questioning finally gave an O(n * logn) answer. The interviewer seemed satisfied and extended the same question further, I answered them easily and the round ended over there.

I was informed about my next round in about 10-15 mins, the next round was after an hour so I just tried to relax a bit and stood calm.

Interview - Round 2

Round 2 interviews are generally taken by a senior interviewer, that was also the case here. After the introductions the interviewer gave me the following question -

Given below pattern of license plates (Pattern only, not the actual list of license plates), Find the nth license plate
All license plates no are of size 5 chars
Eg, if n is 3, ans is - 00002

00000
00001
00002
........
........
99999
0000A
0001A
0002A
........
.........
9999A
0000B
0001B
0002B
.........
.........
9999B
0000C
........
........
9999Z
000AA
001AA
.........
.........
999AA
000AB
..........
..........
999ZZ
00AAA
........
........
ZZZZZ

I told the approach and we had a long discussion regarding it after which I was asked to code it. By covering multiple edge cases I had complicated my approach a lot and was facing difficulties in writing it down.

But I somehow managed to code it and the interviewer gave me a couple of test cases. The approach passed those cases but then he would think a bit and generate a new test case.

This kept on happening and I was not able to dry run the code for all the test cases that he gave me. I asked him hints a lot of times but he was rigid and told me to just think more.

On this note the interviewer ended the interview and I was sure enough that I am getting rejected.

Final Verdict - REJECTED

Comments (6)