File size: 247 Bytes
03a907a
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
from dataset.problem_13.cache import LRUCache


def run_ops() -> tuple[int, int]:
    cache = LRUCache(2)
    cache.put("a", 1)
    cache.put("b", 2)
    _ = cache.get("a")
    cache.put("c", 3)
    return cache.get("a"), cache.get("b")