What was wrong with this choice he then decided to replace


Problem

In a student project for which the keys were integers, one student thought that he could mix the keys well by using a trigonometric function, which had to be converted to an integer index, so he defined his hash function as (int) sin(n). What was wrong with this choice? He then decided to replace the function sin(n) by exp(n). Criticize this choice.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: What was wrong with this choice he then decided to replace
Reference No:- TGS02642792

Expected delivery within 24 Hours