Skip to content

Commit 0510ec8

Browse files
committed
fix: remove debug console.log statements from hasPairWithSum
1 parent f7a6b6e commit 0510ec8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Sprint-1/JavaScript/hasPairWithSum/hasPairWithSum.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ export function hasPairWithSum(numbers, target) {
2020
const complement = target - num;
2121
// O(1) lookup
2222
if (seen.has(complement)) {
23-
console.log("complement", complement);
24-
console.log("seen", seen);
2523
return true;
2624
}
2725

0 commit comments

Comments
 (0)