diff --git a/solutions/object_oriented_design/hash_table/hash_map.py b/solutions/object_oriented_design/hash_table/hash_map.py index beceb7738a..33d9a35de1 100644 --- a/solutions/object_oriented_design/hash_table/hash_map.py +++ b/solutions/object_oriented_design/hash_table/hash_map.py @@ -35,4 +35,4 @@ def remove(self, key): if item.key == key: del self.table[hash_index][index] return - raise KeyError('Key not found') \ No newline at end of file + raise KeyError('Key not found') diff --git a/solutions/system_design/query_cache/query_cache_snippets.py b/solutions/system_design/query_cache/query_cache_snippets.py index 6ea3bac00b..19d3f5cdd6 100644 --- a/solutions/system_design/query_cache/query_cache_snippets.py +++ b/solutions/system_design/query_cache/query_cache_snippets.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- + class QueryApi(object): def __init__(self, memory_cache, reverse_index_cluster): diff --git a/solutions/system_design/web_crawler/web_crawler_snippets.py b/solutions/system_design/web_crawler/web_crawler_snippets.py index 99d5a37875..d84a25362e 100644 --- a/solutions/system_design/web_crawler/web_crawler_snippets.py +++ b/solutions/system_design/web_crawler/web_crawler_snippets.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- + class PagesDataStore(object): def __init__(self, db):