Connect the country

Problem Name:
Connect the country
Site:HackerRank
Links:
Tags:
Problem setters: