Skip to content

Commit b4f9649

Browse files
committed
Two Sum solve 1 공간복잡도 수정
1 parent 1a29395 commit b4f9649

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

two-sum/sunjae95.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/**
99
* @description brainstorming 1 solve
1010
* time complexity: O(n^2)
11-
* space complexity: O(n)
11+
* space complexity: O(1)
1212
*/
1313
var twoSum = function (nums, target) {
1414
for (let i = 0; i < nums.length; i++) {

0 commit comments

Comments
 (0)