Ayush7614 / Daily-Coding-DS-ALGO-Practice

A open source project🚀 for bringing all interview💥💥 and competative📘 programming💥💥 question under one repo📐📐
https://daily-ds-algo.github.io/DS-Algo-Website/
MIT License
322 stars 474 forks source link

Detect Cycle in a Directed Graph #1579

Open Surajvatsya opened 3 years ago

Surajvatsya commented 3 years ago

Aim

To Detect Cycle in a given Directed Graph.

Details

Given a directed graph, check whether the graph contains a cycle or not. Your function should return true if the given graph contains at least one cycle, else return false.

Programming language

@Ayush7614 bhiya please assign this issue to me.

KarthikTadala commented 3 years ago

Im preparing for my coding interviews and it would really help me if you assign this question to me Kindly assign me this I have immense interest in coding