A circular path

Problem Name:
A circular path
Site:HackerEarth
Links:
Tags: