摘要: function HashTable() { //桶的个数 this.limit = 7 this.storage = [] //数据的个数 this.count = 0 //把字符串转化成比较大的数字: hashcode //根据hashcode分配到对应的链表 HashTable.prototype.makeHash = function (str, size) { //初始化hashcode 阅读全文
posted @ 2019-10-12 13:54 那个村 阅读(165) 评论(0) 推荐(0)