al_jabr's submission of Pishty and tree | CodeChef