GOOGLE INTERVIEW EXPERIENCE|| 2025 GRADUATES
Company: Google
Role: L3
Interview Stage: Phone Screen
Location: unknown
Year: unknown
Original Post Content:
1: ROUND 1: It was a Screening Round. The question was:
A word was told by a teacher and some n number of students have guessed the sequence. You have to predict whether the given sequence can lead to any Valid Output.
It was basically to find if a cycle exists in a graph or not. After creating an adjacency list and all, we can find out. I used the toposort method, and the interviewer was satisfied.
2: ROUND 2:
Given a Matrix that has 0/1, given there is one 1 solid square. You have to tell the top-most left corner of the solid square and its length.
I proposed Brute force, and the interviewer was satisfied. They gave me a follow-up: If given that the size of the square table will always be <= sqrt(n) * sqrt(n), n >= m.
I couldn't solve that. If anyone has a solution, please tell me.
3: ROUND 3:
The first question was coin change. I explained the recursive solution, memoized solution, and tabulated too, but could not solve the follow-up. It was:
You have been given a DP array of the above problem; you have to find out what was the original coins array.
That's it. If anyone has a solution to the two follow-ups, please provide.