Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
7
class
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_solution
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected