Example #1
0
bool checkStringOccurence(SuffixTree &tree, string word) {
  return tree.travelByString("smh") == tree.end();
}