Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MisterBooo/LeetCodeAnimation
/ difficulty
Function
difficulty
tools/scripts/review-site-changes.js:42–46 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
40
}
41
42
function
difficulty(value) {
43
if
(value ===
"简单"
)
return
"easy"
;
44
if
(value ===
"困难"
)
return
"hard"
;
45
return
"medium"
;
46
}
47
48
function
normalize(item) {
49
return
{
Callers
1
normalize
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected