Function to check given sequence of root to leaf path exist in tree or not . index represents current element in sequence of rooth to leaf path
bool existPath ( struct Node * root , int arr [ ] , int n , int index ) { if ( ! root ) return ( n == 0 ) ; return existPathUtil ( root , arr , n , 0 ) ; }