Update time complexity table for LRU.

This commit is contained in:
Oleksii Trekhleb 2023-01-23 18:43:00 +01:00
parent 3d8dd9a67f
commit 6c4aa1b6a2

View File

@ -26,7 +26,7 @@ You may also find more test-case examples of how the LRU Cache works in [LRUCach
## Costs ## Costs
| | Worst Case | | | Average |
|---|---| |---|---|
| Space |`O(n)`| | Space |`O(n)`|
| Get item | `O(1)` | | Get item | `O(1)` |