Google DSA round

Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2024-10-29Added By Anonymous
Source: Link
🧭 Experience: unknown
✅ Outcome: unknown
💰 Compensation: unknown
📍 Location: unknown
🏢 Company: Google
🎓 Education: unknown
🎁 Benefits: unknown
📅 Offer Date: unknown

I had an interview in google recently and was asked a simple two pointer question with some variation.

I was quickly able to come up with the approach and explained it well. After that I asked if he is ok with it and should I code it.

While coding I got a little confused initially on the datastructure to use between Set or Map but I qucikly corrected myself.After coding the entire solution I again made a mistake of not checking for null in the hashMap and then when the interviwer pointed out there is a bug I got nervous and couldnt figure it out until he had to give me specific examples and multiple hints.

I felt bad that I froze and couldnt figure out such an easy thing, what do you think are my chances here?
Comments