We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fb649e commit 62b151eCopy full SHA for 62b151e
Dynamic-Programming/Sliding-Window/PermutationinString.js
@@ -26,7 +26,6 @@ export function PermutationinString (s1, s2) {
26
while (end < s2.length - 1) {
27
if (equals(s1Set, s2Set)) return true
28
end++
29
- console.log(s2[start], s2[end], equals(s1Set, s2Set))
30
const c1 = s2[start]
31
const c2 = s2[end]
32
if (s2Set[c1] > 0) s2Set[c1]--
0 commit comments