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

Function getLeft

javascript/0097-interleaving-string.js:183–184  ·  view source on GitHub ↗
(i, j, s1, s3, tabu)

Source from the content-addressed store, hash-verified

181};
182
183var getLeft = (i, j, s1, s3, tabu) =>
184 (tabu[i - 1][j] && s1[i - 1]) === s3[i + j - 1];
185
186var getRight = (i, j, s2, s3, tabu) =>
187 (tabu[i][j - 1] && s2[j - 1]) === s3[i + j - 1];

Callers 1

hasMatchFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected