mirror of
https://github.com/trekhleb/javascript-algorithms.git
synced 2026-03-13 08:51:02 +08:00
Update time complexity table for LRU.
This commit is contained in:
@@ -26,7 +26,7 @@ You may also find more test-case examples of how the LRU Cache works in [LRUCach
|
||||
|
||||
## Costs
|
||||
|
||||
| | Worst Case |
|
||||
| | Average |
|
||||
|---|---|
|
||||
| Space |`O(n)`|
|
||||
| Get item | `O(1)` |
|
||||
|
||||
Reference in New Issue
Block a user