mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
hash_search
This commit is contained in:
parent
4f83abdb50
commit
3db7cefdd9
@ -3,6 +3,8 @@
|
||||
#include<stdio.h>
|
||||
#define MAX 6
|
||||
# define HASHMAX 5
|
||||
// Hash Search Algorithm
|
||||
// Best Time Complexity Ω(1)
|
||||
int data[MAX] = { 12, 160, 219, 522, 725, 9997};
|
||||
typedef struct list {
|
||||
int key;
|
||||
|
Loading…
Reference in New Issue
Block a user