MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / printTable

Function printTable

Hashtable/cuckoo-hashing.cpp:85–95  ·  view source on GitHub ↗

function to print hash table contents */

Source from the content-addressed store, hash-verified

83
84/* function to print hash table contents */
85void printTable()
86{
87 printf("Final hash tables:\n");
88
89 for (int i=0; i<ver; i++, printf("\n"))
90 for (int j=0; j<MAXN; j++)
91 (hashtable[i][j]==INT_MIN)? printf("- "):
92 printf("%d ", hashtable[i][j]);
93
94 printf("\n");
95}
96
97/* function for Cuckoo-hashing keys
98* keys[]: input array of keys

Callers 1

cuckooFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected