Phone Screening
Given an n x m matrix, you start at (n-1,0) and must reach (n-1, m-1). Allowed moves: diagonally up, right, diagonally down.
- Follow-up 1: There are some checkpoints — count the number of ways that include visiting all checkpoints.
- Follow-up 2: You must visit the checkpoints in order (doesn't fully make sense since only one checkpoint can be visited per column (Since we are changing column in all moves)). Also optimize for space complexity.
Feedback: SH (Based on HR's response, as they didn't share the exact rating)
Googlyness Round
- How would you handle a conflict where someone is taking credit for your work?
- Standard questions on juggling multiple tasks/priorities.
Feedback: SH (Based on HR's response, as they didn't share the exact rating)
Onsite Round 1
Given an undirected, unweighted graph, Alice is at one node and needs to reach a destination node. Find the shortest path.
- Follow-up 1: Find all nodes that are part of some shortest path.
- Follow-up 2: Bob is at another node. Alice picks one shortest path and starts moving; Bob starts moving at the same time too. Determine whether Alice can reach the destination without being caught by Bob.
Feedback: SH (Based on HR's response, as they didn't share the exact rating)
Onsite Round 2
Given a list of log entries:
timestamp, userA connects to userB
timestamp, userB connects to userC
...along with the total number of users, find the timestamp at which all users become connected to each other.
- Follow-up 1: Find the timestamp after which the maximum number of connections between any two nodes is ≤ k (fixed), and all users are connected. (Similar to the original problem.)
- Follow-up 2: Logs can now also include:
timestamp, userB unfriends userCFind the timestamp when all users are connected. (I wasn't able to give a fully optimal solution — this seems related to dynamic connectivity / DSU with rollback.)
Feedback: H (Based on HR's response, as they didn't share the exact rating)
Current Status
In team matching.


