InterviewBit Problems   Cycle in Undirected Graph : Solved

About the Cycle in Undirected Graph : Solved category (1)
JAVA Sweet n Simple (1)
Union find easy (1)
Regular DFS with slight modification (1)
Can someone tell me why my code is wrong.i am getting a segmentation fault (1)
Java DFS solution [Easy version] (1)
Accepted DFS Solution (4)
Reason for WA [BFS Graph Traversal] (1)
DFS with unordered map (1)
Simple DFS Solution using Java (1)
Java simple BFS solution (1)
Simple c++ union find algo (1)
Detection using union-find (1)
Very easy c++ sol. dfs appplication using parent concept (1)
Accepted BFS Solution (1)
C++ | DFS | Easy (4)
Java Solution of Cycle detection (1)