From e1901d88f632079d5a2077bcbeef1d325dcd7874 Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Sun, 28 Apr 2024 22:59:05 +0000 Subject: Sun, Apr 28, 2024, 3:59 PM -07:00 --- wk5/pset/speller/dictionary.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'wk5/pset/speller') 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; } -- cgit v1.2.3