views:

82

answers:

1

Im confused with this question? Thank you in advance. Programming in C under linux

A: 

If you mean hash list, this seems pretty simple.

typedef struct hash_node
{
   long hash;
   struct hash_node *next;
} hash_node;

Of course, you have to populate the hash values and link up the list.

Matthew Flaschen
yes thanks, but the problem is if there is posible to use ordenation methods of list into a hash list, not just using list into hash list. thank u for the answer
Chak
Perhaps this is not the right hash list. I can't see a connection to e.g. binary search (as you posted above).
Matthew Flaschen
ok, thanks, so if the answer is not, i need the explanation
Chak