diff options
author | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-04-28 22:59:05 +0000 |
---|---|---|
committer | Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> | 2024-04-28 22:59:05 +0000 |
commit | e1901d88f632079d5a2077bcbeef1d325dcd7874 (patch) | |
tree | 2da34fc289fcdba65674cc6d23fd86b9fa5b4532 /wk5/pset/speller | |
parent | f95055912c8af3a3d98da4f7fbdffc8c3d59d2eb (diff) |
Sun, Apr 28, 2024, 3:59 PM -07:00
Diffstat (limited to 'wk5/pset/speller')
-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; } |