mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-09 21:47:07 +08:00
hash_search
This commit is contained in:
@@ -25,8 +25,8 @@ void create_list(int key) {
|
||||
if (p != NULL) {
|
||||
n -> next = p;
|
||||
hashtab[index].next = n;
|
||||
} else
|
||||
hashtab[index].next = n;
|
||||
} else {
|
||||
hashtab[index].next = n; }
|
||||
}
|
||||
int hash_search(int key) {
|
||||
link pointer;
|
||||
|
||||
Reference in New Issue
Block a user