Pranav Pathare's submission of Root the Tree | CodeChef