mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
added wiki reference
This commit is contained in:
parent
61c5998a16
commit
c7dd883b9d
@ -2,7 +2,8 @@
|
||||
* @file double_hash_hash_table.cpp
|
||||
* @author [achance6](https://github.com/achance6)
|
||||
* @author [Krishna Vedala](https://github.com/kvedala)
|
||||
* @brief Storage mechanism using double-hashed keys.
|
||||
* @brief Storage mechanism using [double-hashed
|
||||
* keys](https://en.wikipedia.org/wiki/Double_hashing).
|
||||
* @note The implementation can be optimized by using OOP style.
|
||||
*/
|
||||
#include <iostream>
|
||||
@ -18,7 +19,7 @@ bool putProber(Entry entry, int key);
|
||||
bool searchingProber(Entry entry, int key);
|
||||
void add(int key);
|
||||
|
||||
// globals
|
||||
// Undocumented globals
|
||||
int notPresent;
|
||||
std::vector<Entry> table;
|
||||
int totalSize;
|
||||
|
Loading…
Reference in New Issue
Block a user