← Google Interview InsightsSoftware Engineer

Google·Software Engineer·Onsite - Multi Round·Intermediate

IntermediatePending
Nov 2026

Summary

Went through the full Google SWE loop and made it to hiring committee with some borderline feedback. Two rounds felt shaky on time, which probably cost me the stronger ratings, but the packet got submitted so now it's just a waiting game.

Questions Asked (2)

Q1

Design an object-oriented system from scratch, starting with a completely blank canvas where you define the problem, gather requirements, and specify all methods yourself.

System DesignAdaptability & AmbiguityTechnical Trade-offs
Author's notes

This one started with literally nothing on the screen and I had to figure out what we were even building by asking questions.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by picking a concrete, familiar domain (e.g., a parking lot or vending machine) and explicitly state your assumptions to convert ambiguity into a scoped problem. Walk through requirements, core use cases, and class responsibilities before writing any methods, then iterate on your design with trade-offs and extensions.

Pro tip: Treat the blank canvas as a collaboration exercise: narrate your reasoning and invite the interviewer to correct assumptions early, which signals adaptability and saves you from designing the wrong system.

1. Define the problem and scope

Choose a concrete domain and state the core problem in one sentence, listing explicit assumptions and what is out of scope.

2. Gather functional and non-functional requirements

List primary use cases, actors, and constraints (e.g., concurrency, extensibility, performance) and confirm priorities with the interviewer.

3. Identify core entities and relationships

Derive classes from nouns in the requirements, define their responsibilities, and sketch relationships (composition, inheritance, interfaces).

4. Specify methods and interfaces

For each class, define key methods with signatures, focusing on public APIs and keeping responsibilities cohesive (SOLID principles).

5. Discuss trade-offs and extensions

Explain design choices (e.g., inheritance vs. composition), how the design handles change, and how you would extend or scale it.

Key Points to Mention

  • SOLID principles and separation of concerns
  • Design patterns (e.g., Strategy, Factory, Observer) where appropriate
  • Trade-offs between inheritance and composition
  • Handling concurrency and state consistency
  • Extensibility and maintainability of the design
  • Clear assumptions and scope management

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.

Q2

Solve a hard graph traversal problem involving a matrix, requiring an optimal solution using a double BFS approach.

Algorithms & Data Structures
Author's notes

I actually had the right idea immediately, which felt great for about two minutes.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Clarify the problem constraints and define what the double BFS is optimizing (e.g., shortest path with a constraint or multi-source reachability). Then explain the two-phase BFS: first BFS to compute distances or mark reachable regions, second BFS to find the optimal connection or path, and analyze time/space complexity.

Pro tip: Before coding, explicitly state the graph model (cells as nodes, 4-directional edges) and why a single BFS fails—this shows you understand the problem's nuance and avoids premature optimization.

1. Clarify problem and constraints

Ask about matrix size, movement directions, obstacles, and what 'optimal' means (e.g., minimum steps, minimum flips). Confirm the double BFS requirement and edge cases.

2. Model as a graph

Treat each cell as a node with edges to adjacent valid cells. Define the state for BFS (e.g., cell coordinates, distance, or number of obstacles removed).

3. Design the two BFS phases

Explain the first BFS: e.g., multi-source BFS from all starting points to compute distances or mark reachable areas. Then the second BFS: use the first BFS results to find the optimal path or connection efficiently.

4. Analyze complexity and optimize

State time and space complexity (typically O(m*n) for each BFS). Discuss why double BFS is optimal versus alternatives like Dijkstra or repeated BFS.

5. Handle edge cases and test

Mention edge cases: empty matrix, no path, start equals end, all obstacles. Walk through a small example to validate the approach.

Key Points to Mention

  • Graph representation: cells as nodes, 4-directional adjacency, and handling obstacles
  • Multi-source BFS for computing distances from multiple starting points simultaneously
  • Why double BFS improves efficiency over a single BFS or brute-force search
  • Time and space complexity analysis: O(m*n) time and space per BFS
  • Edge cases: unreachable target, start/end on obstacle, matrix boundaries
  • Correctness argument: why the two-phase approach yields the optimal solution

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.