From 52cae605f443e7b3e165ddcdd880d5c8e5fff835 Mon Sep 17 00:00:00 2001 From: Paul Jungeblut Date: Sun, 19 Mar 2017 15:58:59 +0100 Subject: Slight changes to suffix tree and adding implicit cartesian STL tree. --- string/trie.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string/trie.cpp') diff --git a/string/trie.cpp b/string/trie.cpp index 163a110..1b5f573 100644 --- a/string/trie.cpp +++ b/string/trie.cpp @@ -1,5 +1,5 @@ struct node { - node *(e)[26]; // Implementierung für Kleinbuchstaben. + node *e[26]; // Implementierung für Kleinbuchstaben. int c = 0; // Anzahl der Wörter, die an diesem node enden. node() { for(int i = 0; i < 26; i++) e[i] = NULL; } }; -- cgit v1.2.3