Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/neetcode-gh/leetcode
/ getCode
Function
getCode
javascript/0424-longest-repeating-character-replacement.js:78–78 ·
view source on GitHub ↗
(char)
Source
from the content-addressed store, hash-verified
76
};
77
78
const
getCode = (char) => char.charCodeAt(0) -
'A'
.charCodeAt(0);
Callers
2
addRightFrequency
Function · 0.70
subtractLeftFrequency
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected