Hash Table implementation in Python

preview_player
Показать описание
class HashTable:
def __init__(self):
self.MAX = 10

def get_hash(self,key):
hash = 0
for char in key:
hash += ord(char)
return hash % self.MAX

def __getitem__(self, index):

def __setitem__(self, key, value):
JamBoard

GIST Link
Рекомендации по теме
join shbcf.ru