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