Dinesh Goyal's submission of Special Tree | CodeChef