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 f7a6b6e commit 0510ec8Copy full SHA for 0510ec8
1 file changed
Sprint-1/JavaScript/hasPairWithSum/hasPairWithSum.js
@@ -20,8 +20,6 @@ export function hasPairWithSum(numbers, target) {
20
const complement = target - num;
21
// O(1) lookup
22
if (seen.has(complement)) {
23
- console.log("complement", complement);
24
- console.log("seen", seen);
25
return true;
26
}
27
0 commit comments