Devang Arora's submission of Root the Tree | CodeChef