MCPcopy
hub / github.com/MisterBooo/LeetCodeAnimation / difficulty

Function difficulty

tools/scripts/sync-algomooc-index.js:54–58  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

52}
53
54function difficulty(value) {
55 if (value === "简单") return "easy";
56 if (value === "困难") return "hard";
57 return "medium";
58}
59
60function difficultyZh(value) {
61 if (value === "easy") return "简单";

Callers 1

buildManifestFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected