Question 1
Linear probing isone of the methods to solve a collision in hashing. If a hashingfunction is defined as h(k) = k % 7, show the linear probingequation and explain how it works.
Question2
Given a list of items: 80, 57, 65, 30, 45, 77, 27, 4, 90,54, 45, 2, 63, 38, 81, 28, 62. Illustrate the sorting ofthe list using Shellsort using a range of 7, 4, and 1.
Question 1 Linear probing is one of the methods to solve a collision in hashing. If a hashing function is defined as h(k
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am