Google | L4 Software Engineer | Interview Experience | India | 2026

Anonymous User
783
Nov 30, 2026

Experience: ~3.5 years
Location: Bangalore, India
Role: Software Engineer III (L4)
Language: C++
Timeline: June to August 2026

Sharing my Google L4 interview experience. Hopefully, this helps people preparing for similar roles at Google.

Round 1 – DSA

Given an infinite stream of logs, where each log contains a timestamp and a message, implement a system that sends these logs to another service.

The condition is that the same message should not be sent again if it was already sent in the last 10 seconds.

For example:

10: ABCD
11: XYZ
13: ABCD
14: XYZ
21: ABCD
35: XYZ

We were provided with a getStatus() function to continuously receive logs and a sendStatus(timestamp, message) function to send them.

Follow-ups

Since this is an infinite stream, the hashmap will keep growing. How can we optimise memory usage and remove messages that are no longer relevant?

The interviewer changed the condition slightly. Instead of considering the last time a message was sent, we now needed to consider repeated occurrences of the message, including the ones that were suppressed.

Round 2 – Googleyness and Leadership

This round was more of a discussion around my previous work experience, how I work within a team, and how I handle different situations.

Some of the questions and follow-up areas I covered:

  • Tell me about a complex project you worked on with your team.
  • Tell me about a disagreement you had with another engineer.
  • Tell me about a situation where you had to learn something new to complete a project.
  • Have you worked on something outside your immediate responsibilities?

Round 3 – DSA

You are given N tests. All tests pass when executed individually, but certain pairs of tests may fail when executed together.

You are provided with a function that can determine whether a given range of tests contains a failing combination.

Find any pair of tests responsible for the failure while minimising the number of calls to the oracle function.

Round 4 – DSA

You are given two dice, A and B, each having K faces. Unlike normal dice, these dice can contain arbitrary integer values, including duplicates.

Find the total number of possible outcomes in which dice A wins against dice B.

A wins if the value rolled on A is strictly greater than the value rolled on B.

Example:

A = [1, 3, 5]
B = [2, 3, 4]

Output: 4

Follow-up:

Instead of having just two dice, we are now given multiple dice, each containing arbitrary values.

Extend the solution to determine which die has the maximum number of winning combinations.

Verdict

  • REJECTED
  • R1 - SH | R2 - SH | R3 and R4 (onsite) - LH
  • Recruiter mentioned to contact after one year due to cooldown.
Comments (2)