https://practice.geeksforgeeks.org/problems/detect-cycle-in-an-undirected-graph/1
Can you please tell the error in my code. All the test cases I am giving on my own, it is giving the correct answer, can you give me a test case that this code misses.
As told by sir I can see I am missing another recursive call. But I want to know the test case that this code won’t pass.
My code is : https://ide.codingblocks.com/s/244701