Gorakh Gupta's submission of Root the Tree | CodeChef