Graph problem

Problem Name:
Graph problem
Site:HackerEarth
Links:
Tags: