布隆过滤Bloom Filter:js/ts
/**
* 存储节点
*/
var Node = function(key = null, value = null){
this.key = key;
this.value = value;
this.prev = null;
this.next = null;
}
/**
* @param {number} capacity
*/
var LRUCache = function(capacity) {
this.hashtable = new Map(.
原创
2021-05-07 10:57:49 ·
270 阅读 ·
0 评论