All Questions
3 questions
0
votes
1
answer
60
views
Last word of dictionary file replaces all the nodes in node bucket
Currently I am working on the load function using a hash table with singly-linked list. I have tested the create(), insert(), and find() function in a separate file and they work as expected.
...
0
votes
1
answer
768
views
Problem accessing the last element of the array
I've decided to implement the load function using trie, which I've defined as
typdef struct trie
{
struct trie letters[27];
bool isWord;
}trie;
then later, when I try to ...
0
votes
1
answer
91
views
Pset5 Dictionary C Struct Array Call In Load Function Issue
I've defined the struct as following:
// Node struct
typedef struct node
{
// Node value
char word[LENGTH + 1];
// Node Pointer to next value/node
struct node* ...