MCPcopy Index your code
hub / github.com/MisterBooo/LeetCodeAnimation / ProblemInfo

Class ProblemInfo

tools/anima/model.py:7–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5
6@dataclass
7class ProblemInfo:
8 id: int
9 title: str
10
11 def title_slug(self):
12 title_parts = re.split(r'\s+', self.title)
13 return f'{self.id:04d}-' + '-'.join(title_parts)
14
15
16@dataclass

Callers 1

create_solutionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected