Skip to content

Commit

Permalink
Update HashTable.html
Browse files Browse the repository at this point in the history
  • Loading branch information
q23wwwwe authored Nov 22, 2018
1 parent bf6e98f commit 31bab47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/17_hashmap/HashTable.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
hash+=key.charCodeAt(i);
}
//为了得到比较小的数值,我们会用hash和任意数除余
return hash%30;
return hash%37;
}
//向散列表增加一个新的项
put(key,value){
Expand Down

0 comments on commit 31bab47

Please sign in to comment.