private static void Main() { var trie = new Trie.Trie(); trie.Insert("abc"); trie.Insert("abcd"); trie.Insert("cde"); Console.WriteLine("String " + (trie.Search("abcd") ? "Found" : "Not Found")); Console.ReadLine(); }
private SuffixTrie(Trie <T> innerTrie, int minSuffixLength) { this.m_InnerTrie = innerTrie; this.m_MinSuffixLength = minSuffixLength; }