Hashing class implementation

code : https://ide.codingblocks.com/s/233618

why we are declaring node as Node*, like what is use of T here.

and in line no. 44 what is the significance of [table_size] and why we are taking that

@chaman9 hey,T is use for template ,you have to define templte above and then in place of
T you can use any data type ,due to this you dont have to write same code for different data type,see this for more info:https://www.geeksforgeeks.org/templates-cpp/
table size represent size of hash table.

i know what is template… my doubt is in linked list we only declare node*, where data is int and we are not including int with node

then why we are including T in while node*

@chaman9 hey this is also explained in above link ,actually that T represent about the type of data of linked list ,please refer above link.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.