Google | Onsite | L5
Company: Google
Role: L5
Interview Stage: Onsite
Location: unknown
Year: unknown
Original Post Content:
I had onsite recently with Google and had 3 rounds as part of that. I can't share exact questions, but can share LeetCode questions which mostly or completely resemble the onsite interview:
First round:
https://leetcode.com/problems/regions-cut-by-slashes/
Second round:
https://leetcode.com/problems/earliest-second-to-mark-indices-ii/description/
Third round:
https://leetcode.com/problems/longest-increasing-subsequence-ii/description/
They expect to give the most optimal answer, for example in the third round. I solved it in O(n^2) but the interviewer expected to solve it in O(n log n) time.
Surprisingly, most interviews were taken by non-Asian people although I applied for an Asia role. Faced issue as some interviewer's accent was tough to understand. Good luck to everyone!