Karan Malhotra's submission of Pishty and tree | CodeChef