It was great they asked two questions. One was related to arrays, and the other was a follow-up question. I did solve the first one within 10 minutes, but I took time for the second one and gave a brute-force approach. They expected an optimal one using graph algorithms.
Given an array, find the second most frequent element.
The following metrics were computed from 8 interview experiences for the Google SDE-2 role in India.
Google's interview process for their SDE-2 roles in India is extremely selective, failing the vast majority of engineers.
Candidates reported having very good feelings for Google's SDE-2 interview process in India.