diff options
Diffstat (limited to 'wk5/pset')
-rw-r--r-- | wk5/pset/speller/dictionary.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wk5/pset/speller/dictionary.c b/wk5/pset/speller/dictionary.c index e05f30b..b98d965 100644 --- a/wk5/pset/speller/dictionary.c +++ b/wk5/pset/speller/dictionary.c @@ -24,7 +24,9 @@ int size = 0; // Returns true if word is in dictionary, else false bool check(const char *word) { - // TODO + // hash word to find bucket + int bucket = hash(word); + for(int i = 0; ) return false; } |