summaryrefslogtreecommitdiff
path: root/wk5/pset
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-04-28 23:08:37 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-04-28 23:08:37 +0000
commit7e2df501d800baf80441fea7179f05b51f6ceb42 (patch)
treebb978285b9cb046d984389b49bcf3c365fda0990 /wk5/pset
parente1901d88f632079d5a2077bcbeef1d325dcd7874 (diff)
Sun, Apr 28, 2024, 4:08 PM -07:00
Diffstat (limited to 'wk5/pset')
-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;
}