Oraat Yaan's submission of Root the Tree | CodeChef