Skip to main content
1 of 2
DinoCoderSaurus
  • 28.6k
  • 2
  • 12
  • 31

Is this new_node -> next = hashtable[hash]; right? Assuming hashtable is an array of ints, and new_node-> next is a node pointer, then something's amiss.

Don't know if this is root of the problem, but it jumped off the page.

DinoCoderSaurus
  • 28.6k
  • 2
  • 12
  • 31