SimilarWeb interview question

find the cycle in a graph.