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 .
public virtual void printPathsRecur ( Node node , int [ ] path , int pathLen ) { if ( node == null ) { return ; }