{"id":"6b093ddebd4755deb67ee080","slug":"lru-cache","title":"LRU cache","summary":"A fixed-capacity cache that evicts the least recently used entry when full. get and put in O(1) – a map plus a doubly linked list.","servedLang":"en","availableLangs":["pl","en"],"kind":"code","category":"algorithms","status":"published","difficulty":"medium","topics":["proxy"],"techs":["typescript","javascript","python","dotnet","java","go"],"tags":["design","hash-map","linked-list","caching","data-structures"],"languages":[{"lang":"typescript","runner":"browser","starter":"class LRUCache {\n  constructor(private readonly capacity: number) {\n    // TODO\n  }\n\n  /** Value for key or -1; a hit makes the entry the most recently used. */\n  get(key: number): number {\n    throw new Error('Not implemented');\n  }\n\n  /** Inserts/updates; evicts the least recently used entry when a new key exceeds the capacity. */\n  put(key: number, value: number): void {\n    throw new Error('Not implemented');\n  }\n\n  get size(): number {\n    throw new Error('Not implemented');\n  }\n}\n","testCount":7,"tests":"test('evicts the least recently used entry', () => {\n  const cache = new LRUCache(2);\n  cache.put(1, 1);\n  cache.put(2, 2);\n  expect(cache.get(1)).toBe(1);\n  cache.put(3, 3);\n  expect(cache.get(2)).toBe(-1);\n  cache.put(4, 4);\n  expect(cache.get(1)).toBe(-1);\n  expect(cache.get(3)).toBe(3);\n  expect(cache.get(4)).toBe(4);\n});\n\ntest('get refreshes the entry', () => {\n  const cache = new LRUCache(2);\n  cache.put(1, 100);\n  cache.put(2, 200);\n  cache.get(1);\n  cache.put(3, 300);\n  expect(cache.get(1)).toBe(100);\n  expect(cache.get(2)).toBe(-1);\n});\n\ntest('put on an existing key updates and refreshes it', () => {\n  const cache = new LRUCache(2);\n  cache.put(1, 1);\n  cache.put(2, 2);\n  cache.put(1, 10);\n  cache.put(3, 3);\n  expect(cache.get(1)).toBe(10);\n  expect(cache.get(2)).toBe(-1);\n});\n\ntest('updating a full cache does not evict anything', () => {\n  const cache = new LRUCache(2);\n  cache.put(1, 1);\n  cache.put(2, 2);\n  cache.put(2, 20);\n  expect(cache.size).toBe(2);\n  expect(cache.get(1)).toBe(1);\n  expect(cache.get(2)).toBe(20);\n});\n\ntest('missing keys and size', () => {\n  const cache = new LRUCache(3);\n  expect(cache.get(42)).toBe(-1);\n  expect(cache.size).toBe(0);\n  cache.put(42, 0);\n  expect(cache.get(42)).toBe(0);\n  expect(cache.size).toBe(1);\n});\n\ntest('capacity 1', () => {\n  const cache = new LRUCache(1);\n  cache.put(1, 1);\n  cache.put(2, 2);\n  expect(cache.get(1)).toBe(-1);\n  expect(cache.get(2)).toBe(2);\n  expect(cache.size).toBe(1);\n});\n\ntest('performance: capacity 20 000, 100 000 operations', () => {\n  const cap = 20000;\n  const cache = new LRUCache(cap);\n  for (let k = 0; k < 2 * cap; k++) cache.put(k, 2 * k);\n  let hits = 0, sum = 0;\n  for (let k = 0; k < 2 * cap; k++) {\n    const v = cache.get(k);\n    if (v !== -1) { hits++; sum += v; }\n  }\n  expect(hits).toBe(cap);\n  expect(sum).toBe(2 * ((cap + 2 * cap - 1) * cap) / 2);\n  for (let k = 2 * cap; k < 3 * cap; k++) cache.put(k, 2 * k);\n  expect(cache.get(cap + 5)).toBe(-1);\n  expect(cache.get(2 * cap + 5)).toBe(2 * (2 * cap + 5));\n  expect(cache.size).toBe(cap);\n});\n"},{"lang":"javascript","runner":"browser","starter":"class LRUCache {\n  /** @param {number} capacity at least 1 */\n  constructor(capacity) {\n    // TODO\n  }\n\n  /** Value for key or -1; a hit makes the entry the most recently used. */\n  get(key) {\n    throw new Error('Not implemented');\n  }\n\n  /** Inserts/updates; evicts the least recently used entry when a new key exceeds the capacity. */\n  put(key, value) {\n    throw new Error('Not implemented');\n  }\n\n  get size() {\n    throw new Error('Not implemented');\n  }\n}\n","testCount":7,"tests":"test('evicts the least recently used entry', () => {\n  const cache = new LRUCache(2);\n  cache.put(1, 1);\n  cache.put(2, 2);\n  expect(cache.get(1)).toBe(1);\n  cache.put(3, 3);\n  expect(cache.get(2)).toBe(-1);\n  cache.put(4, 4);\n  expect(cache.get(1)).toBe(-1);\n  expect(cache.get(3)).toBe(3);\n  expect(cache.get(4)).toBe(4);\n});\n\ntest('get refreshes the entry', () => {\n  const cache = new LRUCache(2);\n  cache.put(1, 100);\n  cache.put(2, 200);\n  cache.get(1);\n  cache.put(3, 300);\n  expect(cache.get(1)).toBe(100);\n  expect(cache.get(2)).toBe(-1);\n});\n\ntest('put on an existing key updates and refreshes it', () => {\n  const cache = new LRUCache(2);\n  cache.put(1, 1);\n  cache.put(2, 2);\n  cache.put(1, 10);\n  cache.put(3, 3);\n  expect(cache.get(1)).toBe(10);\n  expect(cache.get(2)).toBe(-1);\n});\n\ntest('updating a full cache does not evict anything', () => {\n  const cache = new LRUCache(2);\n  cache.put(1, 1);\n  cache.put(2, 2);\n  cache.put(2, 20);\n  expect(cache.size).toBe(2);\n  expect(cache.get(1)).toBe(1);\n  expect(cache.get(2)).toBe(20);\n});\n\ntest('missing keys and size', () => {\n  const cache = new LRUCache(3);\n  expect(cache.get(42)).toBe(-1);\n  expect(cache.size).toBe(0);\n  cache.put(42, 0);\n  expect(cache.get(42)).toBe(0);\n  expect(cache.size).toBe(1);\n});\n\ntest('capacity 1', () => {\n  const cache = new LRUCache(1);\n  cache.put(1, 1);\n  cache.put(2, 2);\n  expect(cache.get(1)).toBe(-1);\n  expect(cache.get(2)).toBe(2);\n  expect(cache.size).toBe(1);\n});\n\ntest('performance: capacity 20 000, 100 000 operations', () => {\n  const cap = 20000;\n  const cache = new LRUCache(cap);\n  for (let k = 0; k < 2 * cap; k++) cache.put(k, 2 * k);\n  let hits = 0, sum = 0;\n  for (let k = 0; k < 2 * cap; k++) {\n    const v = cache.get(k);\n    if (v !== -1) { hits++; sum += v; }\n  }\n  expect(hits).toBe(cap);\n  expect(sum).toBe(2 * ((cap + 2 * cap - 1) * cap) / 2);\n  for (let k = 2 * cap; k < 3 * cap; k++) cache.put(k, 2 * k);\n  expect(cache.get(cap + 5)).toBe(-1);\n  expect(cache.get(2 * cap + 5)).toBe(2 * (2 * cap + 5));\n  expect(cache.size).toBe(cap);\n});\n"},{"lang":"python","runner":"browser","starter":"class LRUCache:\n    def __init__(self, capacity: int) -> None:\n        pass  # TODO\n\n    def get(self, key: int) -> int:\n        \"\"\"Value for key or -1; a hit makes the entry the most recently used.\"\"\"\n        raise NotImplementedError\n\n    def put(self, key: int, value: int) -> None:\n        \"\"\"Inserts/updates; evicts the least recently used entry when a new key exceeds the capacity.\"\"\"\n        raise NotImplementedError\n\n    def __len__(self) -> int:\n        raise NotImplementedError\n","testCount":7,"tests":"def eq(got, expected, what):\n    assert got == expected, f\"{what}: expected {expected}, got {got}\"\n\n\ndef test_evicts_the_least_recently_used_entry():\n    cache = LRUCache(2)\n    cache.put(1, 1)\n    cache.put(2, 2)\n    eq(cache.get(1), 1, \"get(1)\")\n    cache.put(3, 3)\n    eq(cache.get(2), -1, \"get(2) after eviction\")\n    cache.put(4, 4)\n    eq(cache.get(1), -1, \"get(1) after eviction\")\n    eq(cache.get(3), 3, \"get(3)\")\n    eq(cache.get(4), 4, \"get(4)\")\n\n\ndef test_get_refreshes_the_entry():\n    cache = LRUCache(2)\n    cache.put(1, 100)\n    cache.put(2, 200)\n    cache.get(1)\n    cache.put(3, 300)\n    eq(cache.get(1), 100, \"get(1)\")\n    eq(cache.get(2), -1, \"get(2)\")\n\n\ndef test_put_on_existing_key_updates_and_refreshes():\n    cache = LRUCache(2)\n    cache.put(1, 1)\n    cache.put(2, 2)\n    cache.put(1, 10)\n    cache.put(3, 3)\n    eq(cache.get(1), 10, \"get(1)\")\n    eq(cache.get(2), -1, \"get(2)\")\n\n\ndef test_updating_a_full_cache_does_not_evict():\n    cache = LRUCache(2)\n    cache.put(1, 1)\n    cache.put(2, 2)\n    cache.put(2, 20)\n    eq(len(cache), 2, \"len()\")\n    eq(cache.get(1), 1, \"get(1)\")\n    eq(cache.get(2), 20, \"get(2)\")\n\n\ndef test_missing_keys_and_size():\n    cache = LRUCache(3)\n    eq(cache.get(42), -1, \"get(42) on an empty cache\")\n    eq(len(cache), 0, \"len() of an empty cache\")\n    cache.put(42, 0)\n    eq(cache.get(42), 0, \"get(42)\")\n    eq(len(cache), 1, \"len()\")\n\n\ndef test_capacity_one():\n    cache = LRUCache(1)\n    cache.put(1, 1)\n    cache.put(2, 2)\n    eq(cache.get(1), -1, \"get(1)\")\n    eq(cache.get(2), 2, \"get(2)\")\n    eq(len(cache), 1, \"len()\")\n\n\ndef test_performance_100k_operations():\n    cap = 20_000\n    cache = LRUCache(cap)\n    for k in range(2 * cap):\n        cache.put(k, 2 * k)\n    hits = total = 0\n    for k in range(2 * cap):\n        v = cache.get(k)\n        if v != -1:\n            hits += 1\n            total += v\n    eq(hits, cap, \"hits\")\n    eq(total, (cap + 2 * cap - 1) * cap, \"sum of hits\")\n    for k in range(2 * cap, 3 * cap):\n        cache.put(k, 2 * k)\n    eq(cache.get(cap + 5), -1, \"evicted key\")\n    eq(cache.get(2 * cap + 5), 2 * (2 * cap + 5), \"new key\")\n    eq(len(cache), cap, \"len()\")\n"},{"lang":"csharp","runner":"judge0","starter":"using System;\n\npublic class LruCache\n{\n    public LruCache(int capacity)\n    {\n        // TODO\n    }\n\n    /// <summary>Value for key or -1; a hit makes the entry the most recently used.</summary>\n    public int Get(int key)\n    {\n        throw new NotImplementedException();\n    }\n\n    /// <summary>Inserts/updates; evicts the least recently used entry when a new key exceeds the capacity.</summary>\n    public void Put(int key, int value)\n    {\n        throw new NotImplementedException();\n    }\n\n    public int Count\n    {\n        get { throw new NotImplementedException(); }\n    }\n}\n","testCount":7},{"lang":"java","runner":"judge0","starter":"class LruCache {\n    LruCache(int capacity) {\n        // TODO\n    }\n\n    /** Value for key or -1; a hit makes the entry the most recently used. */\n    int get(int key) {\n        throw new UnsupportedOperationException(\"Not implemented\");\n    }\n\n    /** Inserts/updates; evicts the least recently used entry when a new key exceeds the capacity. */\n    void put(int key, int value) {\n        throw new UnsupportedOperationException(\"Not implemented\");\n    }\n\n    int size() {\n        throw new UnsupportedOperationException(\"Not implemented\");\n    }\n}\n","testCount":7},{"lang":"go","runner":"judge0","starter":"package main\n\ntype LRUCache struct {\n\t// TODO\n}\n\nfunc NewLRUCache(capacity int) *LRUCache {\n\treturn &LRUCache{}\n}\n\n// Get returns the value for key or -1; a hit makes the entry the most recently used.\nfunc (c *LRUCache) Get(key int) int {\n\tpanic(\"not implemented\")\n}\n\n// Put inserts/updates; evicts the least recently used entry when a new key exceeds the capacity.\nfunc (c *LRUCache) Put(key, value int) {\n\tpanic(\"not implemented\")\n}\n\nfunc (c *LRUCache) Len() int {\n\tpanic(\"not implemented\")\n}\n","testCount":7}],"questionCount":null,"xp":20,"stats":{"attempts":0,"solves":0,"solutions":0,"comments":0},"solveRate":null,"publishedAt":"2026-11-27T08:22:54.691Z","requestedLang":"en","statement":{"type":"doc","content":[{"type":"paragraph","content":[{"type":"text","text":"A user-profile service queries a slow database, so it keeps recently read profiles in memory. Memory is limited: when space runs out, the "},{"type":"text","text":"least recently used","marks":[{"type":"bold"}]},{"type":"text","text":" entry goes. Both operations must be constant time – the cache sits on the hot path of every request."}]},{"type":"heading","attrs":{"level":2,"id":"task"},"content":[{"type":"text","text":"Task"}]},{"type":"paragraph","content":[{"type":"text","text":"A class "},{"type":"text","text":"LRUCache","marks":[{"type":"code"}]},{"type":"text","text":" with capacity "},{"type":"text","text":"capacity ≥ 1","marks":[{"type":"code"}]},{"type":"text","text":":"}]},{"type":"table","content":[{"type":"tableRow","content":[{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Operation"}]}]},{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Behaviour"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"get(key)","marks":[{"type":"code"}]}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"returns the value or "},{"type":"text","text":"-1","marks":[{"type":"code"}]},{"type":"text","text":" when the key is absent; a hit makes the entry the "},{"type":"text","text":"most recent","marks":[{"type":"bold"}]}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"put(key, value)","marks":[{"type":"code"}]}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"inserts or updates the entry and makes it the most recent; if inserting a "},{"type":"text","text":"new","marks":[{"type":"bold"}]},{"type":"text","text":" key pushes the size above the capacity, evicts the least recently used entry"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"size","marks":[{"type":"code"}]}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"number of entries"}]}]}]}]},{"type":"paragraph","content":[{"type":"text","text":"Names: JS/TS "},{"type":"text","text":"LRUCache","marks":[{"type":"code"}]},{"type":"text","text":", "},{"type":"text","text":"get","marks":[{"type":"code"}]},{"type":"text","text":", "},{"type":"text","text":"put","marks":[{"type":"code"}]},{"type":"text","text":", getter "},{"type":"text","text":"size","marks":[{"type":"code"}]},{"type":"text","text":"; Python "},{"type":"text","text":"LRUCache","marks":[{"type":"code"}]},{"type":"text","text":", "},{"type":"text","text":"get","marks":[{"type":"code"}]},{"type":"text","text":", "},{"type":"text","text":"put","marks":[{"type":"code"}]},{"type":"text","text":", "},{"type":"text","text":"len(cache)","marks":[{"type":"code"}]},{"type":"text","text":"; C# "},{"type":"text","text":"LruCache","marks":[{"type":"code"}]},{"type":"text","text":", "},{"type":"text","text":"Get","marks":[{"type":"code"}]},{"type":"text","text":", "},{"type":"text","text":"Put","marks":[{"type":"code"}]},{"type":"text","text":", "},{"type":"text","text":"Count","marks":[{"type":"code"}]},{"type":"text","text":"; Java "},{"type":"text","text":"LruCache","marks":[{"type":"code"}]},{"type":"text","text":", "},{"type":"text","text":"get","marks":[{"type":"code"}]},{"type":"text","text":", "},{"type":"text","text":"put","marks":[{"type":"code"}]},{"type":"text","text":", "},{"type":"text","text":"size()","marks":[{"type":"code"}]},{"type":"text","text":"; Go "},{"type":"text","text":"NewLRUCache(capacity)","marks":[{"type":"code"}]},{"type":"text","text":", "},{"type":"text","text":"Get","marks":[{"type":"code"}]},{"type":"text","text":", "},{"type":"text","text":"Put","marks":[{"type":"code"}]},{"type":"text","text":", "},{"type":"text","text":"Len","marks":[{"type":"code"}]},{"type":"text","text":"."}]},{"type":"heading","attrs":{"level":2,"id":"example"},"content":[{"type":"text","text":"Example"}]},{"type":"paragraph","content":[{"type":"text","text":"Capacity 2:"}]},{"type":"table","content":[{"type":"tableRow","content":[{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Operation"}]}]},{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Result"}]}]},{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Contents (least → most recently used)"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"put(1, 1)","marks":[{"type":"code"}]},{"type":"text","text":", "},{"type":"text","text":"put(2, 2)","marks":[{"type":"code"}]}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"–"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"1, 2"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"get(1)","marks":[{"type":"code"}]}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"1","marks":[{"type":"code"}]}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"2, 1"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"put(3, 3)","marks":[{"type":"code"}]}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"–"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"1, 3 (2 evicted)"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"get(2)","marks":[{"type":"code"}]}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"-1","marks":[{"type":"code"}]}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"1, 3"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"put(1, 10)","marks":[{"type":"code"}]}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"–"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"3, 1"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"put(4, 4)","marks":[{"type":"code"}]}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"–"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"1, 4 (3 evicted)"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"get(1)","marks":[{"type":"code"}]}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"10","marks":[{"type":"code"}]}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"4, 1"}]}]}]}]},{"type":"heading","attrs":{"level":2,"id":"constraints"},"content":[{"type":"text","text":"Constraints"}]},{"type":"bulletList","content":[{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"1 ≤ capacity ≤ 100,000","marks":[{"type":"code"}]},{"type":"text","text":", keys and values are integers "},{"type":"text","text":"0 … 10⁹","marks":[{"type":"code"}]},{"type":"text","text":"."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"Up to 200,000 operations per test."}]}]}]},{"type":"heading","attrs":{"level":2,"id":"expected-complexity"},"content":[{"type":"text","text":"Expected complexity"}]},{"type":"paragraph","content":[{"type":"text","text":"get","marks":[{"type":"code"}]},{"type":"text","text":" and "},{"type":"text","text":"put","marks":[{"type":"code"}]},{"type":"text","text":" in "},{"type":"text","text":"O(1)","marks":[{"type":"bold"}]},{"type":"text","text":" (average), "},{"type":"text","text":"O(capacity)","marks":[{"type":"bold"}]},{"type":"text","text":" memory."}]}]},"hints":[],"hintsCount":3,"quiz":null,"solutionNotes":null,"unlocked":false,"external":[{"provider":"leetcode","url":"https://leetcode.com/problems/lru-cache/","title":"LeetCode 146 – LRU Cache","difficulty":null}],"articles":[{"id":"6b08bd3d80884893657cc9fb","slug":"proxy","title":"Proxy – a stand-in that controls access to the real object"},{"id":"6b08bd3280884893657cc938","slug":"decorator","title":"Decorator – adding behaviour layer by layer"}],"topicsInfo":[{"slug":"proxy","title":"Proxy","group":"structural","icon":"shield"}],"author":{"id":"6b08bd2e80884893657cc8cf","name":"Redakcja Art of Devs","avatar":null,"handle":"redakcja","community":false},"capabilities":{"judge0":false,"aiReview":false},"createdAt":"2026-11-27T08:22:54.692Z","updatedAt":"2026-11-27T08:22:54.692Z"}