Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Linked Data A Geographic Perspective

Authors: Glen Hart, Catherine Dolbear

1st Edition

1000218910, 9781000218916

More Books

Students also viewed these Databases questions