bool check(const char *word) { int hashvalue = hash(word); node *cursor = table[hashvalue]; if(strcasecmp(cursor->word, word) == 0) { return true; } while(s