Introduction to Graphs: Definitions, Traversal, Depth-First Search

O(V+E)

this link isn’t working. Can you update it ?

Thanks for this important link.

https://www.codechef.com/viewsolution/40679530
Can anyone check why my code giving wrong answer?