kothariji / competitive-programming

A one-stop Destination✏️ for all your Competitive Programming Resources.📗📕 Refer CONTRIBUTING.md for contributions
650 stars 495 forks source link

Create (LEETCODE)Longest Cycle in a Graph.java #719

Closed sanidhya02 closed 1 year ago

sanidhya02 commented 1 year ago

I have added java code for printing longest cycle in a graph using Kosaraju Algorithm, this problem was asked in one of the leetcode weekly contest