Skip to content

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

+1-1
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)