Home
Reference
Source
linkedlist
C
LinkedList
queue
C
LRUCache
C
QueueNodeImpl
C
Queue
stack
C
Stack
C
Stacks
trees
C
TreeNode
C
TreeOperations
import {LRUCache} from '
dsa-gfg/src/queue/lru-cache.ts
'
public
class
|
source
LRUCache
Constructor Summary
Public Constructor
public
constructor
()
Method Summary
Public Methods
public
get
(x:
number
)
public
set
(x:
T
, y:
T
)
Public Constructors
public
constructor
()
source
Public Methods
public
get
(x:
number
)
source
Params:
Name
Type
Attribute
Description
x
number
public
set
(x:
T
, y:
T
)
source
Params:
Name
Type
Attribute
Description
x
T
y
T