Number of junctions

Problem Name:
Number of junctions
Site:HackerEarth
Links:
Tags:
Problem setters: