Google L4 | Bangalore | 2025
Company: Google
Role: L4
Interview Stage: Onsite
Location: Bangalore
Year: 2025
Original Post Content:
Hi Everyone
I have given this Google interview in April. A recruiter approached me and asked for a slot for the Initial Phone Screen. I asked for a week's time and after a week, my Initial Phone Screen was scheduled.
📞 Phone Screen: Big story, the question in short which boils down to:
📌 Min Heap of size K must be used to maintain the top K elements.
Coded solution and walked through the code.
Feedback Received from recruiter after 10 days from phone screen:
--> Candidate solved problem without hints but didn't walk through code until asked, selected for onsite rounds so asked for a month time for preparation, was given 26 days.
All 4 Rounds invite was shared -
3 Onsite Rounds (DSA) and 1 Googlyness Round Interviews were scheduled all in the same week.
📞 Round 1: Long story boils down to => Topological Sorting + BFS Question (Straightforward). Difficulty Level - Medium
Interviewer was an Indian and is not a software engineer; she is of some infra team and handles Automation, looked like she just woke up and sadly she yawned many times while I was answering and switched on and off her camera multiple times :( and not much supportive despite the problem was very easy to solve. She was not able to understand Topological Sort - Kahn's algorithm why that works when I am coding. She seemed satisfied when I coded the whole and then explained her.
📞Round 2: Rescheduled as interviewer didn't join, rescheduled to last.
📞Round 3: With a Principal Engineer who joined 3 mins late. As soon as he joined he told, "You look tensed. Do you want me to reschedule it?" despite I was not at all tensed. I was completely chill, and I started feeling tensed as he started with that without "Hi, How are you?".
Question: Long story short - Line Sweep Algorithm with intervals. Difficulty Level - Medium.
I answered and seemed satisfied with the approach and then coded the whole, and at the 37th minute, he told, "What about duplicates in the interval ranges?"
I replied, "These are the changes needed to be made in the logic to support duplicates." Then he was like, "So this required design change..." despite highlighting the changes. I was on cloud nine expecting everything went well until he replied that when I was making changes to support duplicates too, he told, "Leave it as we may run out of time for questions in the last 5 mins."
📌 Lesson learnt: Always consider Duplicates Even if given sample input doesn't have Duplicates and interviewer tells to proceed initially.
Round 4: Googlyness Rescheduled as Interviewer Didn't Join
Rescheduled Round 2: Interviewer is super interactive and was told initially that the question will be asked and follow-ups based on time permits.
Question is Long story short: Will be given log messages. Each message is like String + timestamp.
Initial Question: Print only those messages if the same message is not present in the last 10 seconds. (Used simple map <string, int> and if a new message comes we see if message is present in map and if present see its previous timestamp if current is more than previous then only print again else don't.)
Asked to code the approach and he made me modify the structure of code according to his thoughts and expectation.
Follow up 1: In the previous approach, what is the bottleneck in real-time?
Answered: Memory may go out of bounds if all are unique messages, so was asked to solve that. Then thought for a while and discussed cleanup and he agreed with the solution and so I wrote a cleanup using queue and map and he seemed satisfied.
Was a bit overenthusiastic here as I was confident that I was able to figure out this follow-up 1 and written very fast, so left with 5.5 minutes more in 40 minutes time, so he told, "Let's go for another follow-up."
Followup 2: A Log message must be printed only if it has not occurred in the previous 10 seconds AND the next 10 seconds.
Ex:Leetcode 6Leetcode 15Java 1Java 12Java 23
Output:Java 12 as Java is not present in [2,22]Java 23 Same for Java 23
I thought for a while but couldn't able to figure out the approach in 5 mins time. Interviewer gave a hint too, to use the previous cleanup function but my stupid brain didn't listen and focus on his hint.
Was able to figure out Solution Just After Exiting the Interview using the existing cleanup.
📌 Lesson learnt: Always focus on Interviewers hints what they are trying to give and try thinking in that direction.
Rescheduled Googlyness 2: Some Russian joined and he thought it was a DSA round. So because of mismatch, the round got cancelled and rescheduled again.
Rescheduled Googlyness 3: Just after joining the call, recruiter emailed that interviewer was busy because of some last-minute emergency and it got rescheduled again.
Rescheduled Googlyness 4:
Interviewer was of Warsaw and she is super cool and is of L3.
Famous Googlyness Questions from Google experience.
As Googlyness postponed 4 times, I mastered all questions and was ready with 4 stories covering all answers in STAR Pattern. She was very impressed with my answers and a definite Strong Hire in this.
🧾 Lessons Learnt:
- Always ask for a mock interview with recruiter when onsite rounds are scheduled with recruiter as you can feel the heat before itself as time is very tight in Google interviews (2-3 mins Intro, 37 minutes Interview, Last 5 minutes for Questions).
- For L4 grading criteria is super tight so expectation is production-ready code with handling every corner case.
- Always Walkthrough the code post writing code even if interviewer doesn't ask for code walkthrough.
Final Verdict: ❌ Rejection
No Feedback is provided.
CoolDown is of 12 months now sadly so will definitely try again after 12 months as recruiter told she will reach out post cooldown again.