summaryrefslogtreecommitdiff
path: root/datastructures
diff options
context:
space:
mode:
Diffstat (limited to 'datastructures')
-rw-r--r--datastructures/trie.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/datastructures/trie.cpp b/datastructures/trie.cpp
index c252976..9cfcda5 100644
--- a/datastructures/trie.cpp
+++ b/datastructures/trie.cpp
@@ -1,7 +1,7 @@
//nur für kleinbuchstaben!
struct node {
node *(e)[26];
- int c = 0;
+ int c = 0;//anzahl der wörter die an dem node enden.
node() { for(int i = 0; i < 26; i++) e[i] = NULL; }
};