Example #1
0
        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();
        }
Example #2
0
 private SuffixTrie(Trie <T> innerTrie, int minSuffixLength)
 {
     this.m_InnerTrie       = innerTrie;
     this.m_MinSuffixLength = minSuffixLength;
 }