Leetcode 2608. Shortest Cycle in a Graph | Hello Interview