Tree manager

Problem Name:
Tree manager
Site:HackerRank
Links:
Tags:
Problem setters: