MCPcopy Create free account
hub / github.com/neetcode-gh/leetcode / isOpened

Function isOpened

javascript/0678-valid-parenthesis-string.js:90–90  ·  view source on GitHub ↗
(char)

Source from the content-addressed store, hash-verified

88
89var isStar = (char) => char === '*';
90var isOpened = (char) => char === '(';
91var isClosed = (char) => char === ')';
92const isKEqual = (k, i, size) => k === i + size;
93const isDP = (dp, i, k) => dp[i][k];

Callers 1

checkValidStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected