Skip to content

Commit eade984

Browse files
committed
changed a few mistakes
1 parent 4ad8e18 commit eade984

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sprint-1/JavaScript/hasPairWithSum/hasPairWithSum.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
* Find if there is a pair of numbers that sum to a given target value.
33
*
44
* Time Complexity: O(n)
5-
* Space Complexity: O(n)
6-
* Optimal Time Complexity: O(1)
5+
* Space Complexity: O(1)
6+
* Optimal Time Complexity: O(n)
77
*
88
* @param {Array<number>} numbers - Array of numbers to search through
99
* @param {number} target - Target sum to find

0 commit comments

Comments
 (0)