At the end of November, I got a call from a recruiter for a software engineering role at Google. I asked for a month to prepare, and the recruiter agreed. My first phone screen was rescheduled and happened a week later, though the interviewer was late due to personal reasons.
To my surprise, the question I was asked was unrelated to the DSA topics I had been preparing for over the past month. Instead, I was asked to implement K-means clustering, a machine learning algorithm, to group data from a dataframe or database. While it caught me off guard, I was able to partially solve it thanks to my experience working on machine learning projects in my current role.
The interviewer was very friendly and supportive throughout the process, which really helped me stay focused despite the unexpected challenge.
I’m waiting to hear back from the recruiter now. I’m also wondering if I should share feedback about the mismatch between the interview topic and the role I applied for.
Has anyone else faced something similar? I’d love to hear your thoughts!


