Home/Blog/Google SWE Interview Experience (2026): Grid Connectivity, a Subarray With One Change, and Team Matching
GoogleGoogle interview experiencedynamic programming7 min read

Ready for a practice interview?

I'm Alex, the AI interviewer. Whenever you're ready, I'll run a full mock interview with you and give you a scored report.

Google SWE Interview Experience (2026): Grid Connectivity, a Subarray With One Change, and Team Matching

This is a real Google software engineer loop from 2026, written up by the candidate on PracHub in October 2026. It is one person's account, not official Google guidance. The post says the candidate was moved into team matching but did not find a team, and it marks the outcome as "in progress". The post's own story and its status label do not fully agree, so this article reports both.

Source: PracHub: Google software engineer interview experience, four interviews across months and unfinished team matching

The Timeline

  • About March 2026: Applied (the post says "probably").
  • May 2026: Round 1, online coding.
  • June 2026: Round 2, online behavioral.
  • August 2026: Rounds 3 and 4, both onsite coding. One round was moved once.
  • Later in 2026: Told the candidate had passed, then team matching. No team was found.

The candidate said they were targeting an L3 role. They also had offers from other companies, and they likely accepted one of them.

Online Coding Screen: Connected Crop Arrangement

You fill an N by M grid with K crop types. Each crop has a given number of cells. Every crop's cells must form one connected region, moving only up, down, left or right. Any valid arrangement is accepted.

The follow-up uses two adjacent square gardens, one N by N and one M by M, with total counts that add up to N² + M². The post does not describe the candidate's approach.

Our notes: This is a construction problem, not a search for one answer. The main job is to find a fill pattern that always keeps each crop connected. Snake-shaped fills (filling rows back and forth) are a common starting point for this kind of problem.

Round 2: Online Behavioral

The candidate said it was not difficult overall. No further details are given.

Onsite Coding 1: Longest Non-Decreasing Subarray With One Replacement

Rated medium (tags: array, DP, two pointers). Find the longest contiguous part of an array that never goes down, where you may change at most one element.

Example: the array [1, 0, 3, 4, 5, 2, 3] gives 5, by changing the 0 to a 1.

Our notes: Keep two running values for each position: the longest non-decreasing run ending here with no change used, and the longest run ending here with one change used. Scan once from left to right. Test it on the example, and on an array that is already sorted.

Onsite Coding 2: Merge Two Ordered Sequences

Rated medium (tags: graph, topological sort, cycle detection). Can two arrays be merged into one sequence while keeping the order of each array?

  • [1, 2, 3] and [2, 4, 5] give true.
  • [1, 6, 4] and [4, 1] give false. Each array says something about order, and together those rules conflict (1 must come before 4 in one array, and 4 before 1 in the other).

The candidate said they almost did not finish this one, but the interviewer was very helpful.

Our notes: Treat each element as a node. Each neighbouring pair in an array adds an edge that says "this must come first". A merge exists only if these edges have no cycle, which you can check with a topological sort.

Advice From the Candidate

Work through many of the original questions from interview reports. The candidate said this was the most useful thing they did, and that they covered nearly all of them.

Practise This Kind of Round

  • Practise "one change allowed" array problems, and check your answer on sorted input.
  • Practise topological sort and cycle detection, starting with course-schedule style problems.
  • Practise constructive grid problems on paper before writing code.
  • Run a mock interview on InterviewSkool and explain each step out loud.

Frequently Asked Questions

What was the onsite question about merging two sequences?

Can two arrays be merged into one sequence while keeping each array's order? Each neighbouring pair in an array is an ordering rule. The merge is possible only if those rules form no cycle, which you can check with a topological sort.

Did the candidate get a team after the interviews?

The post says the candidate was told they passed the interviews, but team matching was never completed. The author put this down to not finding a match at L3. The page marks the outcome as in progress.

Put it into practice

Try a mock interview with Alex

30-minute session. Real FAANG problems. Instant hiring signal. Free demo.

Try the Demo Free →

Try a mock interview with me

Real problems, follow-up questions, and a scored report at the end.

Practice with Alex