Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/neetcode-gh/leetcode
/ isAlphaNumeric
Function
isAlphaNumeric
javascript/0125-valid-palindrome.js:72–74 ·
view source on GitHub ↗
(c)
Source
from the content-addressed store, hash-verified
70
*/
71
var
isPalindrome =
function
(s) {
72
const
isAlphaNumeric = (c) =>
73
(c.toLowerCase() >=
'a'
&& c.toLowerCase() <=
'z'
) ||
74
(c >=
'0'
&& c <=
'9'
);
75
76
let
left = 0;
77
let
right = s.length - 1;
Callers
1
isPalindrome
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected