From 430fad549dda6edae6931ccfa207ec8125f0eecb Mon Sep 17 00:00:00 2001 From: Ilya Kaznacheev Date: Tue, 31 Aug 2021 10:30:51 +0300 Subject: [PATCH] Fix code example typo --- solutions/system_design/query_cache/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solutions/system_design/query_cache/README.md b/solutions/system_design/query_cache/README.md index 032adf34..afbcce65 100644 --- a/solutions/system_design/query_cache/README.md +++ b/solutions/system_design/query_cache/README.md @@ -159,7 +159,7 @@ class Cache(object): self.lookup = {} # key: query, value: node self.linked_list = LinkedList() - def get(self, query) + def get(self, query): """Get the stored query result from the cache. Accessing a node updates its position to the front of the LRU list.