Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

6) (2 0 pts) Write a function that will search for an entry in a chained hash ta

ID: 3706550 • Letter: 6

Question

6) (2 0 pts) Write a function that will search for an entry in a chained hash table. Below is the header and the specifications of the function // If key is in the hashtable, found is set to true and result is a pointer to the node containing key; // otherwise, found is set to false and result is set to NULL // Note: you can assume the existence of a function int hash(int) which hashes key to a position /I within hashtable, so you can just call it. void findKey (node "hashtablel ], int key, bool &found;, node 'result)

Explanation / Answer

void findkey(node *hashtable[],int key, bool &found, node *result)

{

}

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote