It's for a data structures course and we're using the hash code to place various strings and sub strings into an array of linked lists so we can manipulate the output. It might not be the best...
Type: Posts; User: Nismoz3255
It's for a data structures course and we're using the hash code to place various strings and sub strings into an array of linked lists so we can manipulate the output. It might not be the best...
I thought I was adding something to the array using list[h].add(s). I figured this would add the first element to that LinkedList and thus the array wouldn't be null at that value in the array. So I...
Here I have an array of LinkedLists of the string type. I'm trying to store the string in the hash code index of my array but I'm getting a Null Pointer exception when i try to add it. Does this have...