please append my code as i am not able to give the count
of number of paths
Not able to give the count
you have taken input in wrong way
you have to take input in level order wise
also what you are doing in ispossible() function ??
this function is in neither way belongs to the question you have asked
question you have asked is
,Print count of root-to-leaf paths that have path’s sum equal to given integer sum.
https://hack.codingblocks.com/app/contests/1748/1680/problem
modified Code