Reputation: 144
I have a data structure that supports following operations:
It is implemented using an array of pointers where the assigned integers are indices where the items are stored. Unused indices are chained up in linked-list fashion for constant time insertion.
What is/should be the name of such data structure?
Upvotes: 3
Views: 147
Reputation: 433
As it sounds like a hash based data structure, how about calling it "Simple Hash List". Read more about hash list here http://en.wikipedia.org/wiki/Hash_list
Upvotes: 0