You are on page 1of 1

Hash_Chaining

You are asked to store a STRING DATA with hashing concept. Every data has a unique KEY
DATA that is used as reference in the HASH TABLE. The HASH TABLE has 97 rows.
Moreover, create HASH FUNCTION (i.e. Division Method) to convert KEY DATA into HASH
KEY. Data will be stored into the hash table according to its hash key. If there is a COLIISION,
use HASH CHAINING to solve the problem.
There are three options in the program menu, which are:
1. Input Data
The user is asked to input KEY DATA and STRING DATA. Then, the program will store
those data into HASH TABLE according to its HASH KEY.

2. Search Data
The user is asked to input KEY DATA. The program will return STRING DATA in the
HASH TABLE.

3. Exit
Exit the program.

--- EVERYTHING NOT SAVED WILL BE LOST ---

Rhio Sutoyo – 2019

You might also like