Mr. Akbar is senior software developer working on an ecommerce website he wants to add the following products on his website with following keys Mouse Keyboard 5882 Cable Webcam Monitor 4614 6713 4409...


Mr. Akbar is senior software developer working on an ecommerce website he wants to add the<br>following products on his website with following keys<br>Mouse<br>Keyboard 5882<br>Cable<br>Webcam<br>Monitor<br>4614<br>6713<br>4409<br>1825<br>To make searching better he asked his junior to find the 2 digit hash address of products by<br>following techniques and share results with him<br>a) Division method with m-97<br>b) Mid square method<br>c) Folding method without reversing<br>d) Folding method with reversing<br>Question-3 (b)<br>Consider your name, take ASCII value of each character and map all those values in a Hash table<br>using division method. Mention each insertion step wise and if there is collision, mention that as<br>well. Answer the following questions<br>A) What should be the preferable Table size and why?<br>B) What technique did you use to cater collision and why?<br>C) What is the value of load factor<br>D) Implement the above problem in java using generic hash function class<br>

Extracted text: Mr. Akbar is senior software developer working on an ecommerce website he wants to add the following products on his website with following keys Mouse Keyboard 5882 Cable Webcam Monitor 4614 6713 4409 1825 To make searching better he asked his junior to find the 2 digit hash address of products by following techniques and share results with him a) Division method with m-97 b) Mid square method c) Folding method without reversing d) Folding method with reversing Question-3 (b) Consider your name, take ASCII value of each character and map all those values in a Hash table using division method. Mention each insertion step wise and if there is collision, mention that as well. Answer the following questions A) What should be the preferable Table size and why? B) What technique did you use to cater collision and why? C) What is the value of load factor D) Implement the above problem in java using generic hash function class

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here