Skip to content

mcsteve-e/project-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

project-3

Python hashmap

Algorithm 1

(the first hashing method):

Add the ord of the first and last letters of the key, multiply by 79 and return mod the size of the arrays.

Algorithm 2

(the rehashing method):

Go through the key and add the ord of each letter, multiplied by 31.  Then return that sum mod the size of the arrays.

About

Python hashmap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages