Google Onsite - I Interview Question
Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2025-05-20Added By Anonymous
Source: Link
Company: Google
Role: L3
Interview Stage: Onsite
Location: India
Year: 2025
Original Post Content:
I was asked the exact same question as shared here:
https://leetcode.com/discuss/post/6552833/google-l3-onsite-round-1-2025-india-by-a-ndlg/
I successfully solved the main problem with optimal time and space complexity, and also dry-ran two test cases to validate my solution.
For the follow-up question regarding the number of stones collected, I was able to solve that as well.
The interviewer, who was from the US, was very supportive throughout the interview.
Given this performance, what kind of rating can I expect?