Google Warsaw | SRE-2 | Offer

Anonymous User
2711
Jun 16, 2025
Jun 16, 2025

Hi all,
Thanks to Sai Baba, first of all for making me this strong to be able to get through with the interviews. I was pretty nervous while giving the onsites tbh since I haven't given a MAANG interview and this was the first one; even though I have done 1500+ questions in here and started to prep intensly since March 2024.

Screening Round:

https://leetcode.com/discuss/post/6653260/google-sre-2-warsaw-phone-screen-round-b-p7f4/


Onsite 1 - Googlyness Round:

Interviewer was from Switzerland.
Q1. Tell me about a time when you had to pivot midway at your workplace.

Q2. Tell me about a time where your actions/behaviour had positive impact on your team.

In depth follow up questions were asked on this.
Expected: LH/H
Actual Response: SH from what I could tell.


Onsite 2 - Coding Round 1:

Interviewer was from US.

Q. https://www.reddit.com/r/leetcode/comments/1hg9hi8/tough_google_interview_problem/

I solved it with DFS. He was fine with it.

Asked a lot of claryfing questions like cycle in the filesystem and stuff.

Follow up questions:

  • What if the function got multiple queries for different entityID for same filesystem, I was like we can cache the results but he asked me to reduce space in caching and I couldn't figure it out without hint. Basically, the files already had a O(1) for size so we should only store folders and their sizes in the cache

  • How would you solve if there are cycles and I was like we can have a visited set.

  • Think about more testcases that could cause issues, I was like we have multiple file systems but for finding it out, I blurted out maybe we could change the approach and use UF. But I couldn't double down on the DFS + visited set solution and that was one more miss.

Expected: LH/H
Actual Response: LNH maybe as HR said you had a bug(not sure where and how) and you over complicated the solution.


Onsite 3 - Coding Round 2:

This was by far the best and coolest round for me. The interviewer was really very cool and I loved him, felt like a dream manager to work with and I wish I could get to work with him. Ofc, from US he is.

Q. You are given string s, integer l, integer k and a set of alphabets.
The string is valid only if s if of length l, doesn't have more than k similar consecutive characters and all the chars in the string are in the set named alphabets.

I was able to solve with stack with TC = O(N) and SC = O(N) and I told him that it can be optmised to O(1) SC but I asked him to code this O(N) SC solution and he said yes.

Mid code, he told me the O(1) solution without me asking or being stuck on anything. I eloborated on ti and coded that quickly.

Follow Up - You now have to count the number of valid strings with l,k,alphabets set given. I thought string s is still passed on and started to elaborate on a Monotonic Stack and DP based solution, but I actually misunderstood here big time. This was a huge misunderstanding as when I started to code, he immediately told me that you won't have s and I immediately switched to backtracking.

He was very happy to see that I realised it quickly and I then started to explain the time and space complexity and how the backtracking code will work. He was happy to see that I realised the pattern and was quick to adapt after an apology.

After I coded the solution, the interviewer was happy, though the time was up, I suggested an optimised solution as well and he was good with it.

Expected: LNH/LH due to the misunderstanding
Actual Result: H


I hope this post helps people.

HR update: Positive feedback. Moving forward to Team Matching.

I have a few questions:
What should I expect in the Team Matching rounds?

What should I expect in the coding bar raiser round if suppose that happens?

Comments (7)