RepostedGoogle logo

Google · Phone screen → Onsite

In process

Google Intern Grid and Tree Rounds: 7 Experiences (Part 2 of 8)

Software engineer · InternshipBachelor's degreeOct 2026
Shared by

Google Summer 2027 SWE intern reports, Sep 17–29, 2026: two back-to-back 45-minute coding rounds on BFS twists, tree regions, intervals and binary search.

At a glance

  • Process: an OA for some campus candidates (11), then two 45-minute coding rounds, often back to back, as a phone screen or virtual onsite (11, 16).
  • Asked recently: graph or grid search in 4 of 7 reports (10, 14, 15, 16), trees in 2 (12, 13), intervals or binary search in 2 (14, 16), and string or word matching in 2 (10, 15).
  • Difficulty: base solutions were standard; follow-ups pushed on memory (10, 15, 16), duplicates (13) and repeated queries (15). One candidate finished only one of two questions and found 45 minutes tight (11).
  • Practise first: Shortest Grid Path with Obstacle Elimination, Find a Valid Course Completion Order and Count One-Valued Regions in a Binary Tree.

Coverage: Google Summer 2027 SWE / SDE intern phone screens and virtual onsites. Seven reports, entries 10–16, posted September 17–29, 2026; locations not stated.

In this series

  • Part 1: graphs, intervals and OOD from the first wave of 2027 intern loops.
  • Part 2 (current): paths, grids and trees.
  • Part 3: prefix sums and heaps.
  • Part 4: full loops and team matching.
  • Part 5: grids, DP, OOP and AI.
  • Part 6: trees and knapsack.
  • Part 7: PhD and return offers.
  • Part 8: updates and host calls.

What came up

Search problems with one extra piece of state led this week of reports: a removal budget, a resting destination, or prerequisites. Most rounds then asked how the answer holds up at scale.

Topic Reports Last seen
Graph or grid search (BFS, DFS, topological sort) 4 of 7 Sep 2026 (report date)
Trees 2 of 7 Sep 2026 (report date)
Strings and pattern matching 2 of 7 Sep 2026 (report date)
Intervals 1 of 7 Sep 2026 (report date)
Binary search 1 of 7 Sep 2026 (report date)
Two pointers 1 of 7 Sep 2026 (report date)
Object identity with duplicate values 1 of 7 Sep 2026 (report date)

A candidate can appear in more than one row.

Questions we found

Algorithms / Data Structures

Question Reports Last seen
Match File Paths with Wildcards 1 Sep 2026 (report date)
Shortest Grid Path with Obstacle Elimination 1 Sep 2026 (report date)
Node identity when values repeat (details not shared) 1 Sep 2026 (report date)
Count One-Valued Regions in a Binary Tree 1 Sep 2026 (report date)
Three Sum: Unique Zero-Sum Triplets 1 Sep 2026 (report date)
Binary Tree Level Order Traversal 1 Sep 2026 (report date)
Subtract One Half-Open Interval from Another 1 Sep 2026 (report date)
Graph BFS with a min-heap (details not shared) 1 Sep 2026 (report date)
Trace Every Water Drop to Its Resting Destination 1 Sep 2026 (report date)
Longest Dictionary Word from Nine Letters 1 Sep 2026 (report date)
First and Last Target Position in a Mountain Array 1 Sep 2026 (report date)
Find a Valid Course Completion Order 1 Sep 2026 (report date)

7 detailed candidate timelines, loops, and screens

10: File wildcards and a grid with removable obstacles

Report date: Sep 29, 2026 · Role: Software Engineer Intern · Stage: Virtual onsite · Result: Received a pass email

Round 1

  1. Match File Paths with Wildcards: * matches any string within one directory level, including the empty string.
  2. Follow-up: ** crosses any number of directories, so /home/**/a.txt matches both /home/a.txt and /home/user/docs/a.txt. The interviewer wanted a hand dry run and cases like consecutive wildcards and the same filename in different folders.

Round 2

  1. Shortest Grid Path with Obstacle Elimination: top-left to bottom-right, removing at most K obstacles. The BFS state needs row, column and remaining budget.
  2. Memory follow-up: avoid a big 3D visited table by pruning a state when the same cell was already reached with a larger remaining budget.
  3. The close covered validation, timeouts, memory protection, metrics and extreme-input tests.

11: Duplicate values made node identity the real problem

Report date: Sep 29, 2026 · Role: Summer 2027 SWE Intern · Stage: Two back-to-back technicals · Result: Unknown

  1. Campus outreach came in late August or early September. OA on September 14; two back-to-back interviews on September 28.
  2. One question used a Node class holding an integer, where different nodes could share a value, so the candidate had to tell nodes apart. They got stuck on that and later thought of a separate id() or an index like self.i set during traversal. Whether it was a tree, list, graph or class design, and what it returned, was not shared.
  3. They finished one of the two questions. Both interviewers were friendly and gave hints, but 45 minutes felt tight. Their lesson: state assumptions early, because the interviewer may not point out a wrong one.

12: Count the top node of each island in a binary tree

Report date: Sep 26, 2026 · Role: Software Engineer Intern · Stage: Phone screen

  1. Count One-Valued Regions in a Binary Tree: nodes are 0 or 1; connected 1-nodes form a region. Return the number of regions.
  2. Each region has exactly one top node: value 1 with no parent or a 0 parent. DFS with the parent passed down and count those nodes. O(n) time, O(h) recursion space.

13: Three Sum and level-order traversal

Report date: Sep 22, 2026 · Role: SDE Intern · Stage: Virtual onsite

  1. Round 1: Three Sum: Unique Zero-Sum Triplets. Sort, fix one value, move two pointers inward. Follow-up on heavy duplicates: skip repeats for the fixed value and both pointers.
  2. Round 2: Binary Tree Level Order Traversal with a queue, reading the queue length before each level. Follow-up: a DFS version that passes depth and appends to the matching level.

14: Half-open interval subtraction, then a graph clue

Report date: Sep 21, 2026 · Role: SDE Summer Intern · Stage: Virtual onsite

  1. Round 1: Subtract One Half-Open Interval from Another: return the part of A not covered by B. For A = [2.5, 7.5) and B = [4.3, 9.3), the answer is [2.5, 4.3). The result can be empty, one or two intervals; [1, 3) and [3, 5) only touch, and empty pieces like [3, 3) are dropped.
  2. Round 2: graph BFS with a min-heap. The state, input and goal were not shared, so no problem is linked.

15: Where each water drop ends, then the longest word from nine letters

Report date: Sep 21, 2026 · Role: Software Engineering Intern · Stage: Virtual onsite

  1. Round 1: Trace Every Water Drop to Its Resting Destination: drop water on every cell of a height grid; each drop takes the steepest downhill step until it rests or leaves the grid. They compared plain DFS, memoized DFS and processing cells from low to high, reusing the destination of the next downhill cell. Follow-up: memory on a huge grid.
  2. Round 2: Longest Dictionary Word from Nine Letters: the longest dictionary word you can spell from nine letters without reusing one. Precompute letter counts per word and try longest first. Follow-up: one query versus many against the same dictionary.

16: Two binary searches, then course ordering

Report date: Sep 17, 2026 · Role: Software Engineering Intern · Stage: Virtual onsite, two 45-minute rounds

  1. Round 1: First and Last Target Position in a Mountain Array: the array rises then falls, with repeats; return the first and last target index. Explain the linear scan, then reach O(log n) with separate binary searches for each boundary. Follow-ups: an unsorted array, growing data, every matching interval and edge cases.
  2. Round 2: Find a Valid Course Completion Order: can all courses be finished, and in what order? Build the graph, count indegrees, run Kahn's BFS. Follow-ups: return an actual cycle, work on one subgraph, full dependency paths and less memory.

Patterns across the reports

  1. Follow-ups about memory. Pruning a 3D visited set (10), a huge grid (15) and lower memory for topological sort (16).
  2. Edge-case talk is expected. Consecutive wildcards (10), touching intervals and empty pieces (14), duplicates (13) and boundaries (16).
  3. Two 45-minute rounds. Both reports that described the format said two 45-minute coding rounds (11, 16).

Common questions

What do Google intern interviewers ask after the first solution?

Scaling and memory follow-ups (10, 15, 16), duplicate handling (13), and alternatives such as a DFS version of a BFS (13) or many queries instead of one (15).

Is 45 minutes enough for a Google intern coding round?

One candidate found it tight once explaining and coding were included, and finished one of two questions (11).

Does Google give interns an OA before interviews?

One campus candidate in this part took an OA two weeks before the interviews (11); the others did not mention one.

Keep practicing

In this series

Sources: Anywhere useful interview info can be found.

0 total reactions. Your reactions: none.
0 comments

Comments

0

No comments yet — be the first to share what you know.