Google L4 | Phone Screening| Logger

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

Company: Google
Role: L4
Interview Stage: Phone Screen
Location: Hyderabad
Year: 2024

Original Post Content:

I wanted to share my phone screen interview experience with Google L4 Position for Hyderabad location.

Background - Professional with 7YOE, Front End Strong
Preferred Language - Javascript
Interview date - 31/10/2024, 3PM IST
Preparation time - 1 Month

In the initial call with HR, I negotiated 1 Month duration for preparation as I had basic knowledge of DSA and no LC/CP experience. Also, there was lots of back and forth to get the interview scheduled; fortunately, Google's candidate support team was helpful and I finally had a date set for the interview.

In this duration I prepared only Google related DSA important topics. I solved around 60 LC problems - Easy + Medium. This was challenging managing a full time job and family with a kid, but I feel like I given my best shot.

Preparation material for studying concepts: (Ordered by most helpful first)

1.Strivers YouTube tutorials, Abdul Bari YouTube playlist (Very beginner friendly)
2.Data structures and algorithms made easy - (Hard copy has very small font maybe 10px?, if you are good with a screen there's a PDF on the net with same content, good reference material)
3.Cracking the Coding Interview

Interview day:
Interviewer was from EU, joined call just in time and was kind and polite. Initially, the question he gave was ambiguous and I had to ask a lot of relevant questions to come to the final problem statement.

Question asked was -
Design a logger system that receives a stream of messages along with their timestamps. Each unique message should only be printed at most every 10 seconds (i.e. a message printed at timestamp t will prevent other identical messages from being printed until timestamp t + 10).

I solved it with 5 minutes left using hashmap, I overall followed good coding syntax & communicated my thoughts as I was writing code. In the last 5 minutes, the interviewer asked to write time and space complexity. I wrote it & explained it as well.

Verdict: No hire, after talking with HR and she did not mention it directly but from the conversation I realised that I didn't provide an optimal solution and missed out on edge cases. She also said I can re-apply after a 12 month window.

Comments