class LRUCache { constructor(limit) { this.limit = limit; this.cache = new Map(); } get(key) { if (!this.cache.has(key)) return undefined; ...
確定! 回上一頁