I had two rounds of phone interviews. In the first one, I was asked about how to find a cycle in a directed graph. The interviewer was patient and willing to give me some hints.
As for the second round, I was asked about how to count words in a string, in which words are separated by space. I didn't pass the second round. Maybe because my code was not very concise.
This is how to detect a cycle in a directed graph.
The following metrics were computed from 231 interview experiences for the X Software Engineer role in United States.
X's interview process for their Software Engineer roles in the United States is very selective, failing most engineers who go through it.
Candidates reported having mixed feelings for X's Software Engineer interview process in United States.