summaryrefslogtreecommitdiff
path: root/datastructures
diff options
context:
space:
mode:
authorJBatzill <batzilljohannes@gmail.com>2014-11-20 14:59:15 +0100
committerJBatzill <batzilljohannes@gmail.com>2014-11-20 14:59:15 +0100
commitf0136de737adaa8b95e81aa17a1288d996be6268 (patch)
tree08905188e06989c7f6d397b48370d78bf276dc93 /datastructures
parent7457e01c3dcdaf4a54ee0ca8b5d08d3eb0a04357 (diff)
Update trie.cpp
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; }
};