mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-09 05:27:11 +08:00
hash_search
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user