Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save manojnaidu619/95de1dab45a2dfed5331ad9e346cbebf to your computer and use it in GitHub Desktop.
Save manojnaidu619/95de1dab45a2dfed5331ad9e346cbebf to your computer and use it in GitHub Desktop.
Creation of Hash Table(chaining) in CPP
#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