function to check if given sorted sub - sequence exist in BST index -- > iterator for given sorted sub - sequence seq [ ] -- > given sorted sub - sequence
void seqExistUtil ( struct Node * ptr , int seq [ ] , int & index ) { if ( ptr == NULL ) return ;