Been stuck on Speller for 2 days and could really please use some help.
My initial idea is just to create an array of linked lists with 26 buckets (N = 26) and very simply hash the words by only the first letter. I just want to create a linked list for each word in each letter bucket.
I'm getting an Expected Identifier error I'm not sure why. I declared N = 26 and I declared node *table[N] for the array. I can't imagine what else is missing. I am also trying to initially set all word values to "" and pointers to NULL for the array initially before I insert nodes. I created a for loop for this.
Any help so I can get on track would be greatly appreciated. Thank you!