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 < n ) and ( root . val == arr [ index ] ) and ( existPathUtil ( root . left , arr , n , index + 1 ) or existPathUtil ( root . right , arr , n , index + 1 ) ) ) NEW_LINE