Question: create a Hash Table using C#. Do not use any C# intrinsic data structures, use an array you build yourself. Use Microsoft visual studio (windows

create a Hash Table using C#. Do not use any C# intrinsic data structures, use an array you build yourself. Use Microsoft visual studio (windows app form)

Table Size:

  • user can enter the Hash Table size
  • When the Create button is clicked, a new empty Hash Table of that size should be created.
  • When the Resize button is clicked, a new Hash Table should be created of that size AND all values in the existing Hash Table should be rehashed from the old Hash Table to the new Hash Table.

Hash Function

  • index = key value mod table size

Collision Strategy

  • add +1 when collisions occur until an empty location is found

Step by Step Solution

3.35 Rating (161 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Create a Windows Forms Application Open Microsoft Visual Studio and create a Windows Forms Applicati... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Algorithms Questions!