If current node is equal to arr [ index ] this means that till this level path has been matched and remaining path can be either in left subtree or right subtree .
return ( index < arr . Length && ( root . data == arr [ index ] && ( existPath ( root . left , arr , index + 1 ) || existPath ( root . right , arr , index + 1 ) ) ) ) ; }