From 4107c38b96a05f639b399529530daf264ab62ce5 Mon Sep 17 00:00:00 2001 From: Herman Date: Mon, 17 Aug 2026 22:42:55 +0300 Subject: [PATCH] =?UTF-8?q?docs:=20update=20README=20tables=20=E2=80=94=20?= =?UTF-8?q?add=20705=20(HashSet)=20and=20707=20(LinkedList)=20(English=20+?= =?UTF-8?q?=20Russian)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6dfebd6..f07e2ab 100644 --- a/README.md +++ b/README.md @@ -22,13 +22,15 @@ Every solution lives in its own folder and ships with stress tests (randomised, | # | Title | Difficulty | Time | Space | |---|-------|------------|------|-------| -| 146 | LRU Cache | Hard | O(1) | O(capacity) | +| 146 | LRU Cache | Medium | O(1) | O(capacity) | | 155 | Min Stack | Easy | O(1) | O(n) | | 225 | Stack using Queues | Easy | Push O(n) | O(n) | | 232 | Queue using Stacks | Easy | amortized O(1) | O(n) | -| 303 | Range Sum Query – Immutable | Easy | O(N+Q) | O(N) | +| 303 | Range Sum Query – Immutable | Easy | Constructor O(n), SumRange O(1) | O(n) | | 460 | LFU Cache | Hard | O(1) | O(capacity) | -| 706 | Design HashMap | Easy | avg O(1) | O(n) | +| 705 | Design HashSet | Easy | O(1) amortized (expected) | O(n + m) | +| 706 | Design HashMap | Easy | O(1) amortized (expected) | O(n + buckets) | +| 707 | Design Linked List | Medium | O(1) head/tail, O(n) index ops | O(n) | ### How to run ```bash @@ -53,12 +55,15 @@ by Herman Murauyou: [LeetCode](https://leetcode.com/CloudNative0x0) · [Codeforc | # | Название | Сложность | Время | Память | |---|----------|-----------|-------|--------| -| 146 | LRU Cache | Hard | O(1) | O(capacity) | +| 146 | LRU Cache | Medium | O(1) | O(capacity) | | 155 | Min Stack | Easy | O(1) | O(n) | | 225 | Stack using Queues | Easy | Push O(n) | O(n) | | 232 | Queue using Stacks | Easy | амортизированное O(1) | O(n) | +| 303 | Range Sum Query – Immutable | Easy | Constructor O(n), SumRange O(1) | O(n) | | 460 | LFU Cache | Hard | O(1) | O(capacity) | -| 706 | Design HashMap | Easy | среднее O(1) | O(n) | +| 705 | Design HashSet | Easy | амортизированное O(1) (ожидаемо) | O(n + m) | +| 706 | Design HashMap | Easy | среднее O(1) | O(n + buckets) | +| 707 | Design Linked List | Medium | O(1) для head/tail, O(n) для операций по индексу | O(n) | ### Запуск ```bash