text: Recursive helper function -- given a node , and an array containing the path from the root node up to but not including this node , print out all the root - leaf paths .
code: void printPathsRecur ( struct node * node , int path [ ] , int pathLen ) { if ( node == NULL ) return ;