Google Interview Experience
Summary
I recently appeared for a Google interview where I was asked two specific questions: finding the top K most sold products from CSV data and designing Snapchat. I partially solved the first question but made a critical error in my approach, and I struggled with the system design problem.
Full Experience
I recently appeared for a Google interview. In Round 1, I was asked two questions.
Question 1:
Given a CSV string containing a list of ordered products, find the top K most sold products from the data.
Question 2:
System Design: Design Snapchat.
For Question 1, I was able to solve it partially, but I made a major mistake — I used a max priority queue instead of a min priority queue.
Question 2 was my very first system design interview problem, and unfortunately, I struggled significantly with it.
The interviewer was friendly and gave constructive feedback on my coding mistake.
Interview Questions (2)
Top K Most Sold Products from CSV
Given a CSV string containing a list of ordered products, find the top K most sold products from the data.
Design Snapchat
Design Snapchat.