исправлены ошибки в написании, которые мешали запуску кода
This commit is contained in:
novikovsd 2026-05-24 13:43:41 +00:00
parent 52a5aa8fc6
commit e677d750f7

View File

@ -51,7 +51,7 @@ def ll_list_all(head):
entries.sort(key=lambda x: x[0])
return entries
def _hash(name, bucket_count):
def _hash(name, bucket_count):
h = 0
for ch in name:
h = (h * 31 + ord(ch)) % bucket_count