Google Onsite - I Interview Question

Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2025-05-20Added By Anonymous
Source: Link

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?


Comments