Spaces:
Running
Running
| 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") | |