Skip to content

Commit efadacb

Browse files
committed
remove log
1 parent 50ede68 commit efadacb

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

longest-substring-without-repeating-characters/gitsunmin.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,5 @@ function lengthOfLongestSubstring(s: string): number {
1313
ans = Math.max(ans, j - i + 1);
1414
map.set(s[j], j);
1515
}
16-
console.log('map:', map);
1716
return ans;
1817
};
19-
20-
const testInput1 = "abcabcbb";
21-
const testInput2 = "bbbbb";
22-
const testInput3 = "pwwkew";
23-
24-
console.log('output1:', lengthOfLongestSubstring(testInput1), 'expected:', 3);
25-
console.log('output2:', lengthOfLongestSubstring(testInput2), 'expected:', 1);
26-
console.log('output3:', lengthOfLongestSubstring(testInput3), 'expected:', 3);

0 commit comments

Comments
 (0)