Created
July 7, 2019 15:14
-
-
Save manojnaidu619/95de1dab45a2dfed5331ad9e346cbebf to your computer and use it in GitHub Desktop.
Creation of Hash Table(chaining) in CPP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
struct Node{ | |
int data; | |
struct Node *next; | |
}; | |
int main(){ | |
struct Node * HT[10]; // Space = 10 | |
for(int i=0;i<9;i++){ | |
HT[i] = NULL; | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment