Samarth Gupta's submission of Yet Another Tree Problem | CodeChef