Detect Cycle

Problem Name:
Detect Cycle
Site:HackerRank
Links:
Tags:
Problem setters: