A game of trees

Problem Name:
A game of trees
Site:HackerEarth
Links:
Tags:
Problem setters: