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

Method save_problem

src/leetcode.py:71–73  ·  view source on GitHub ↗
(self, id, content)

Source from the content-addressed store, hash-verified

69 return d
70
71 def save_problem(self, id, content):
72 self.dict[leetcode_key(id)] = content
73 self.dict.commit()
74
75 def get_problem_content(self, id):
76 v = self.dict.get(leetcode_key(id))

Callers 1

get_title_with_slugMethod · 0.95

Calls 1

leetcode_keyFunction · 0.85

Tested by

no test coverage detected