This is the first interview of an internship at Google. I got the interview through an employee referral.
The interviewer was very friendly and helpful. However, I misunderstood the question at the very beginning and provided a different algorithm. In the end, I solved the problem.
The question is to find the number of connected components for an input of a doubly linked list.
Given an input of a cycled doubly linked list, please describe an algorithm to find the number of connected components.
The following metrics were computed from 3,728 interview experiences for the Google Software Engineer role in United States.
Google's interview process for their Software Engineer roles in the United States is extremely selective, failing the vast majority of engineers.
Candidates reported having very good feelings for Google's Software Engineer interview process in United States.