Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/doocs/leetcode
/ save_result
Function
save_result
solution/util.py:113–115 ·
view source on GitHub ↗
(data: List[dict])
Source
from the content-addressed store, hash-verified
111
112
113
def
save_result(data: List[dict]):
114
with
open(
"./result.json"
,
"w"
, encoding=
"utf-8"
)
as
f:
115
f.write(json.dumps(data))
116
117
118
def
save_contest_result(data: List[dict]):
Callers
1
run
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected