Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/neetcode-gh/leetcode
/ isKEqual
Function
isKEqual
javascript/0678-valid-parenthesis-string.js:92–92 ·
view source on GitHub ↗
(k, i, size)
Source
from the content-addressed store, hash-verified
90
var
isOpened = (char) => char ===
'('
;
91
var
isClosed = (char) => char ===
')'
;
92
const
isKEqual = (k, i, size) => k === i + size;
93
const
isDP = (dp, i, k) => dp[i][k];
94
95
/**
Callers
1
check
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected