summaryrefslogtreecommitdiff
path: root/wk5/pset/speller/dictionary.c
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-04-28 22:59:05 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-04-28 22:59:05 +0000
commite1901d88f632079d5a2077bcbeef1d325dcd7874 (patch)
tree2da34fc289fcdba65674cc6d23fd86b9fa5b4532 /wk5/pset/speller/dictionary.c
parentf95055912c8af3a3d98da4f7fbdffc8c3d59d2eb (diff)
Sun, Apr 28, 2024, 3:59 PM -07:00
Diffstat (limited to 'wk5/pset/speller/dictionary.c')
-rw-r--r--wk5/pset/speller/dictionary.c4
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;
}