MCPcopy
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
113def save_result(data: List[dict]):
114 with open("./result.json", "w", encoding="utf-8") as f:
115 f.write(json.dumps(data))
116
117
118def save_contest_result(data: List[dict]):

Callers 1

runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected