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

Method get_problem

src/leetcode.py:99–105  ·  view source on GitHub ↗
(self, id)

Source from the content-addressed store, hash-verified

97 return ""
98
99 def get_problem(self, id):
100 content = self.get_problem_content(id)
101 if content == None:
102 print("title not exist:", id)
103 return str(id)
104 j = json.loads(content)
105 return j
106
107 def get_title(self, id):
108 content = self.get_problem_content(id)

Callers

nothing calls this directly

Calls 2

get_problem_contentMethod · 0.95
printFunction · 0.85

Tested by

no test coverage detected