Back to posts
Google logo

Interview experience

Google · Software Engineer · Mid-Level

Community-sourced A factual summary of an interview experience shared publicly outside interviewd.
Nov 1
In Progress

Overall Experience

A phone coding interview with a path-existence warmup and a safest-path problem on a grid with a cat, a Googlyness phone round, and two onsite coding rounds on rectangle area, job scheduling, and range-uniqueness queries. The record gives the prompts and examples but not the candidate responses or the outcome.
4 rounds
I
Posted by interviewd

Interview Process (4 rounds)

Round 1 of 4: Coding / DSA

60 min

Question 1

Medium
Warmup: given an N x N grid with a start S, an endpoint T, and impassable water cells, determine whether a path exists from S to T that moves only horizontally or vertically.

Experience

The record lists the warmup prompt. The candidate answer is not described.

Question 2

Medium
Given an N x N grid with a mouse start S, cheese T, a cat C, impassable water (#), and passable land (.), the mouse moves up, down, left, or right on land only. The safety of a path is the minimum Manhattan distance from any cell on the path to C. Find a path from S to T that maximizes this safety value, and output the maximum value, or -1 if T is unreachable.

Input: N, then N grid rows; exactly one each of S, T, and C.
Example: "3" with rows "S..", ".#.", "C.T" gives 2.
Constraints: 1 <= N <= 500.

Experience

The record lists the problem and example. The candidate solution is not described.
Loading comments…