text: Returns sum of all root to leaf paths . The first parameter is root of current subtree , the second parameter is value of the number formed by nodes from root to this node
code: int treePathsSumUtil ( struct node * root , int val ) {