Bug fixes and improvements (#1732)

* Bug fixes

* Sync zh and zh-hant versions.

* "入列列" -> "入佇列"

* Fix hello_algo_mindmap.png
This commit is contained in:
Yudong Jin
2025-04-10 19:21:52 +08:00
committed by GitHub
parent a9d44c3a25
commit 8e38c61455
14 changed files with 48 additions and 49 deletions

View File

@@ -31,7 +31,7 @@ function xorHash(key) {
for (const c of key) {
hash ^= c.charCodeAt(0);
}
return hash & MODULUS;
return hash % MODULUS;
}
/* 旋轉雜湊 */