Loading…
Google Interview experience
1 round over 3 weeks. No offer, good experience.
I was asked a fairly easy question but made a mistake or two along the way that the interviewer had to point out so didn't make it to the next round.
Question:
Given an array of integers that might contain negative numbers, return a sorted squared array.
Example:
Input: arr = [3, -1, 10, -4, 0]
Output: [0, 1, 9, 16, 100]
Input: arr = [2, -3, 11, -7, -1]
Output: [1, 4, 9, 49, 121]The recruiter was really nice and provided detailed feedback and told me to try again in 6 months time
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.