Google | Onsite | L5

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2024-11-03Added By Anonymous
Source: Link

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 question, but can share LeetCode questions which mostly or completely resemble 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 most optimal answer, for example in third round. I did solve it by O(n2) but interviewer expected to solve it in O(nlog n) time.
Surprisingly most interview was taken by non-Asian people although I applied for Asia role. Faced issue as some interviewer accent was tough to understand.
Good luck to everyone.

Comments