Search for different keys
result = new List < List < int > > ( ) ; for ( int i = 0 ; i < vect . Count ; i ++ ) { search ( root , vect [ i ] , i ) ; if ( result . Count > 0 ) return true ; } return false ; }