lru here we come
This commit is contained in:
parent
432f88550b
commit
8b4725a628
6 changed files with 34 additions and 3 deletions
|
|
@ -35,6 +35,24 @@ const list_interface = {
|
|||
};
|
||||
|
||||
module.exports = {
|
||||
LRU: {
|
||||
generic: "<K, V>",
|
||||
type: "class",
|
||||
methods: [{
|
||||
name: "update",
|
||||
args: "key: K, value: V",
|
||||
return: "void",
|
||||
}, {
|
||||
name: "get",
|
||||
args: "key: K",
|
||||
return: "V | undefined",
|
||||
}],
|
||||
properties: [{
|
||||
name: "length",
|
||||
type: "number",
|
||||
scope: "public",
|
||||
}]
|
||||
},
|
||||
MinHeap: {
|
||||
type: "class",
|
||||
methods: [{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue