Questions tagged [linked-list]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6
votes
1answer
87k views

How to fix the "conditional jump or move depends on uninitialized value" valgrind error?

Need help again. I've got my linked list working. It copies a list of words from a file into a linked list. Now I want to make a hash table so that all words starting with the letter 'A' go into a ...
1
vote
2answers
2k views

implementation of hash table

I have been having trouble with the implementation of the hash table and linked lists. I don't know if I am on the right track or not, but I think my main problem is not knowing how to automate the ...
0
votes
1answer
256 views

Insert a node at the beginning of an existing linked list

The following code tries to add a node to the beginning of a linked list. Can anyone explain to me why my insert function doesn't work? The program passed in a pointer nodePtr and modified it inside ...