Google Interview experience
1 round over 2 weeks. No offer, bad experience.
I found the problem pretty difficult. I struggled to grasp the concept at first and had to ask for multiple explanations before I got it. I made the question more complex than it needed to be and should have done a better job of sharing my thought process out loud. We also ended up chatting quite a bit about the weather in New York and what it’s like to live and work there since the job is fully in-person, not remote.
Problem:
Was asked 3 sum
Given an array of integers, find all unique triplets [a,b,c] in the array such that their sum is zero, i.e., a + b + c = 0
Sample Input:
nums = [-1, 0, 1, 2, -1, -4]Sample Output:
[[-1, -1, 2], [-1, 0, 1]]Know someone interviewing at Google? Pass it on.
Same company, different candidates.
Share yours while it’s fresh. It takes five minutes, it’s anonymous, and it will help future candidates.