For the hash function h(x) x mod 13, show
how the data
784, 281, 1141, 18, 1, 329, 620, 43, 31, 684
would be inserted in the order given in initially empty cells indexed 0 to 12.
/*********************************************************************************
Hash function:
1. Initialize all empty cells at 0 to 12 by storing -1 in
2. Find a possible location, r, to store data where r = Data mod by
13
3. if the location at r is occupied,
move to the next
available location within 0 to 12,
otherwise data is inserted into r location.
**********************************************************************************/
Your output should look like below. Note that your program can take other data sets too.
