MCPcopy Create free account
hub / github.com/acm-clan/algorithm-stone / get_all_problems

Method get_all_problems

src/leetcode.py:64–69  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

62 return datas
63
64 def get_all_problems(self):
65 d = {}
66 for k, v in self.dict.iteritems():
67 if k.startswith("leetcode_") and k[9].isdigit():
68 d[k] = v
69 return d
70
71 def save_problem(self, id, content):
72 self.dict[leetcode_key(id)] = content

Callers 3

get_tag_problemsMethod · 0.95
check_leetcode_tagsFunction · 0.80
check_leetcode_tagFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected