Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5aab5cc

Browse files
committed
--fix : comment
1 parent 50115f9 commit 5aab5cc

File tree

1 file changed

+1
-1
lines changed
  • src/_Problems_/find-2-nums-adding-to-n

1 file changed

+1
-1
lines changed

‎src/_Problems_/find-2-nums-adding-to-n/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ function findTwoNumsAddingToN(arr, number) {
44
const store = new Set();
55

66
for (let i = 0; i < arr.length; i += 1) {
7-
// check if the set contains one of the pair that sum upto given number
7+
// check if the set contains one of the element that sum upto the given number
88
if (store.has(number - arr[i])) {
99
pair.push(number - arr[i]);
1010
pair.push(arr[i]);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /