Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def hash_key(aMap, key):
- """Given a key this will create a number and then convert it to
- an index for the aMap's buckets."""
- return hash(key) % len(aMap)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement