Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/neetcode-gh/leetcode
/ getCode
Function
getCode
javascript/0567-permutation-in-string.js:45–45 ·
view source on GitHub ↗
(char)
Source
from the content-addressed store, hash-verified
43
};
44
45
const
getCode = (char) => char.charCodeAt(0) -
'a'
.charCodeAt(0);
46
47
const
addRightFrequency = (s, right, frequencyMap) => {
48
const
char = s[right];
Callers
3
getFrequencyMaps
Function · 0.70
addRightFrequency
Function · 0.70
subtractLeftFrequency
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected