Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
zaaath authored Dec 2, 2021
1 parent 6fb649e commit 62b151e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Dynamic-Programming/Sliding-Window/PermutationinString.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export function PermutationinString (s1, s2) {
while (end < s2.length - 1) {
if (equals(s1Set, s2Set)) return true
end++
console.log(s2[start], s2[end], equals(s1Set, s2Set))
const c1 = s2[start]
const c2 = s2[end]
if (s2Set[c1] > 0) s2Set[c1]--
Expand Down

0 comments on commit 62b151e

Please sign in to comment.