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

Function getRight

javascript/0097-interleaving-string.js:186–187  ·  view source on GitHub ↗
(i, j, s2, s3, tabu)

Source from the content-addressed store, hash-verified

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];
188
189/**
190 * DP - Bottom Up

Callers 1

hasMatchFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected