Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 594 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 594 Bytes

Lisch and Eisch algorithms

These hashing algorithms are used is some applications to avoid colisions handling files. LISCH means Last Insertion Standart Coalesced Hashing and EISCH Early Insertion Standart Coalesced Hashing

Running

To run this code just follow steps below

$ python main.py

Then you need to choose an alternative l for LISCH implementation or e EISCH. So insert the values and type e to exit the program.

Example

$ python main.py
l
1
10
9
18
35
e

This program outputs a binary file lisch.dat or eisch.dat