Driver code
int main ( ) { vector < string > s ; s . push_back ( " bana " ) ; s . push_back ( " apple " ) ; s . push_back ( " banacb " ) ; s . push_back ( " bonanza " ) ; s . push_back ( " banamf " ) ; cout << check ( s , " banana " ) ; return 0 ; }