Getting wrong answers

Ques:-Detect cycle in directed graph

Ide:-https://ide.geeksforgeeks.org/RK4k9dD1qa

Hey @manikjindal49
Please share the question link as well :slight_smile:

This is direct problem bro you can doirectly search on google it will show up

Hey @manikjindal49

   if(visited[u]==false && isCyclicUtil(adj,u,visited,recst)){

Here u are doing botwise & instead of logical &&