|
|
|
|
|
by obstinate
3277 days ago
|
|
> sorted vector of keys . . . reserve necessary memory and sort it . . . unsorted coindexed arrays . . . Most of the things you mentioned are not hash tables, but members of a parent concept, dictionaries. Hash tables all by definition involve some sort of hashing of the key. The two main categories of hash table are chained hash tables (std::unordered_map does this, at least in the implementations I'm aware of) and open addressed hash tables, which use probing instead of secondary data structures to resolve conflicts. |
|