Rosetta Problems

Longest Cycle in a Graph

https://leetcode.com/problems/longest-cycle-in-a-graph