summaryrefslogtreecommitdiff
path: root/wk5/pset/speller/dictionary.c
diff options
context:
space:
mode:
Diffstat (limited to 'wk5/pset/speller/dictionary.c')
-rw-r--r--wk5/pset/speller/dictionary.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/wk5/pset/speller/dictionary.c b/wk5/pset/speller/dictionary.c
index b98d965..d77c812 100644
--- a/wk5/pset/speller/dictionary.c
+++ b/wk5/pset/speller/dictionary.c
@@ -25,8 +25,10 @@ int size = 0;
bool check(const char *word)
{
// hash word to find bucket
- int bucket = hash(word);
- for(int i = 0; )
+ int head = hash(word);
+ node *current = table(head);
+
+
return false;
}