Kapil Gupta's submission of Teaching Tree | CodeChef