Sourav Mallick's submission of Root the Tree | CodeChef