I'm looking to make an array, and chaining duplicate hash values into a link list. I'm just unsure how to start with the structs, could anyone help? The problem is i don't noe where to put the headPtr for each array element Thanks.

i.e for a 2d link list i wud have done

Code:
typedef struct *list PtrList
typedef struct *list2 PtrList2

typedef struct list2
{
   PtrList2 next;


tyepdef struct list
{
  PtrList next;
  PtrList2 head;
}

typedef struct overall
{
   PtrList head;
}